摘要
介绍了作为XML分析的利器DOM (文档对象模型DocumentObjectModel) ,论述了由它提供的一个操作XML和HTML文档并与语言无关的标准接口集 ,以及采用标准规范和与之适应的一个接口和类的集合。其中最重要的是开发语言绑定及其与之相对应的org .w3c .domJava包等。DOM提供了一种用Java创建和修改XML文档的方法 ,把XML文档描述称为一棵树 ,并将整个XML文档读入内存 ,并将所有数据储存在节点中 ,使得整个文档得以快速使用。以ApacheXalan为例 。
With the introduction of the DOM, key of the XML analysis, it discussed the documents of operating XML and HTML provided by DOM, the set of standard interface which has nothing to do with the language, and the criteria of the adaptation and the correspondent sets as well. Among which, developing the use of language and the related package of org.w3c.dom Java are the most important. DOM provides the methods of setting up and revising the documents of XML described as a tree, which makes all documents used faster by reading all XML documents into the inner memory, storing all the data in the links. By taking Apache Xalan as an example, it expounded the analysis of XML document, the formation of DOM tree and its technology.
出处
《抚顺石油学院学报》
2002年第2期49-52,61,共5页
Journal of Fushun Petroleum Institute