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

基于SAX的XML文档解析和存储技术应用
引用本文:田斌,孙霞.基于SAX的XML文档解析和存储技术应用[J].微机发展,2005,15(3):90-92,144.
作者姓名:田斌  孙霞
作者单位:[1]武汉理工大学网络信息中心,湖北武汉430070 [2]武汉理工大学计算机学院,湖北武汉430070
摘    要:XML作为一种中间的数据接口,已经显示出其不可替代的重要性。SAX使得Web应用程序能方便地解析和利用XML文档,同时使用哈希表存储数据可以使外部程序方便地调用解析XML文档后的数据。文中首先分析了SAX编程接口,对XML文档的解析机制进行了较深入的探讨;然后提出了一种使用哈希表存储XML数据以供外部程序调用的实现技术。

关 键 词:XML  XML简单应用程序接口  解析器  哈希表
文章编号:1005-3751(2005)03-0090-03

Application of Parsing and Storing XML Document Technology Based on SAX
TIAN Bin,SUN Xia.Application of Parsing and Storing XML Document Technology Based on SAX[J].Microcomputer Development,2005,15(3):90-92,144.
Authors:TIAN Bin  SUN Xia
Affiliation:TIAN Bin~1,SUN Xia~2
Abstract:As a middle interface of data,XML has taken on its importance.SAX makes XML document be parsed and utilized by Web application program,and using Hashtable to store data,the parsed XML data is conveniently invoked by outside program.This paper analyzes the programming interface of SAX at first and investigates the parsing mechanism of XML document in detail,and then presents an implementation technique of storing XML data with Hashtable which in order to be invoked by other outside applications.
Keywords:XML  SAX  parser  Hashtable
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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