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

用Java集合类处理XML文档
引用本文:周筱媛.用Java集合类处理XML文档[J].西安科技大学学报,2002,22(3):318-320.
作者姓名:周筱媛
作者单位:西安科技学院,计算机系,陕西,西安,710054
摘    要:XML ,作为HTML语言的一种补充 ,具有如可扩展性、简单性、开放性、互操作性、支持多国语言等有一系列特性 ,这就使得它必将成为新一代WWW环境的主要工具。但由于XML文件只是文本文件 ,它本身并不带有任何的处理数据能力 ,因此必须辅以其它的工具来应用它。针对目前XML应用技术现状 ,本文提出了利用DOM (或SAX)技术一次性解析文档后 ,将XML文档中的层次数据提取出来通过继承Java集合类来自定义相关类并进一步处理XML中的数据

关 键 词:eXtensible  Markup  Language  Document  Object  Model  Simple  APIfor  XML
文章编号:1671-1912(2002)03-0318-03
修稿时间:2002年1月14日

Operate XML documents with Java collections
ZHOU Xiao,yuan.Operate XML documents with Java collections[J].JOurnal of XI’an University of Science and Technology,2002,22(3):318-320.
Authors:ZHOU Xiao  yuan
Abstract:XML, as a supplement of HTML language, has a series of features such as extensibility, simplicity, openness, interoperability, multi language supporting and so on, and it will be one of main tools for the next WWW environment. However because XML is pure text file, to apply it must use other tools. Studying with the recent situation of XML application technology, the paper advances a new way to process the data in XML by making use of DOM (SAX) parsing, and then construct a new class by inheriting collection in Java.
Keywords:XML  DOM  SAX  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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