首页 | 本学科首页   官方微博 | 高级检索  
     

基于Java的文档对象模型的技术
引用本文:陈晓峰,王世安.基于Java的文档对象模型的技术[J].辽宁石油化工大学学报,2002,22(2):49-52,61.
作者姓名:陈晓峰  王世安
作者单位:1. 东北大学,辽宁沈阳,110006
2. 抚顺石油学院,辽宁抚顺,113001
摘    要:介绍了作为XML分析的利器DOM (文档对象模型DocumentObjectModel) ,论述了由它提供的一个操作XML和HTML文档并与语言无关的标准接口集 ,以及采用标准规范和与之适应的一个接口和类的集合。其中最重要的是开发语言绑定及其与之相对应的org .w3c .domJava包等。DOM提供了一种用Java创建和修改XML文档的方法 ,把XML文档描述称为一棵树 ,并将整个XML文档读入内存 ,并将所有数据储存在节点中 ,使得整个文档得以快速使用。以ApacheXalan为例 ,阐述了进行XML文档的分析和DOM树的生成及DOM树的遍历的技术

关 键 词:Java  XML  DOM
文章编号:1005-3883(2002)02-0049-04
修稿时间:2001年12月4日

A Technic of Document Object Model Based on Java
CHEN Xiao-feng ,WANG Shi-an.A Technic of Document Object Model Based on Java[J].Journal of Liaoning University of Petroleum & Chemical Technology,2002,22(2):49-52,61.
Authors:CHEN Xiao-feng  WANG Shi-an
Affiliation:CHEN Xiao-feng 1,WANG Shi-an 2
Abstract: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.
Keywords:Java  XML  DOM
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号