首页 | 官方网站   微博 | 高级检索  
     

基于DOM的XML解析与应用
引用本文:蔚晓娟,冉静,李爱华,尹治本.基于DOM的XML解析与应用[J].微机发展,2007,17(4):86-88.
作者姓名:蔚晓娟  冉静  李爱华  尹治本
作者单位:西南交通大学信息科学与技术学院 四川成都610031
摘    要:随着XML的广泛应用,大量的信息都将通过XML文档来进行存储、交换,因此熟悉和掌握一种解析XML文档的方法是很重要的。文中着重介绍基于DOM的XML解析的原理、特点、实现及在数据存储方面的应用,并以业务查询组件为例,详细描述了XML建模、解析及与JAVA反射机制相结合实现组件的可扩展现性,增强了组件的灵活性和扩展现性,降低组件的维护成本,突出了XML存储数据的优点,对推广应用XML和DOM技术有一定的实用意义。

关 键 词:文档对象模型  XML解析  Java反射机制
文章编号:1673-629X(2007)04-0086-03
修稿时间:2006年6月22日

XML Parse and Application Based on DOM
WEI Xiao-juan,RAN Jing,LI Ai-hua,YIN Zhi-ben.XML Parse and Application Based on DOM[J].Microcomputer Development,2007,17(4):86-88.
Authors:WEI Xiao-juan  RAN Jing  LI Ai-hua  YIN Zhi-ben
Abstract:With the widespread use of XML,a lot of information would be storaged and exchanged by XML file,so it is very important to familiar and master one kind of XML parse method.Highlights the principle,characteristics and application in the data storage.Taking the bussiness inquiry module as theexample,describes detailedly XML modeling,parse and extensibility unifies with the Java reflection mechanism,strengthens flexibility and extensibility of the module,reduces the maintenance cost of the module,highlights the XML merit stored datum.It is practically significancial to promote the use of XML and DOM technology.
Keywords:DOM  XML parse  Java reflection
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号