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

XML解析方式对比与分析
引用本文:赖武定. XML解析方式对比与分析[J]. 电脑编程技巧与维护, 2010, 0(8): 5-6
作者姓名:赖武定
作者单位:天津工业大学,天津,300160
摘    要:SAX解析技术适用于流式XML解析,系统开销低,但不支持多标签同步访问。DOM解析器首先遍历整个文档,构建Document对象,以树形方式建模XML数据,解决了多标签访问问题,但系统开销较大。

关 键 词:扩展标记语言  简单解析接口  文档对象模型

Comparison and Analysis of XML Parsing Modes
LAI Wuding. Comparison and Analysis of XML Parsing Modes[J]. Computer Programming Skills & Maintenance, 2010, 0(8): 5-6
Authors:LAI Wuding
Affiliation:Tianjin Polytechnic University;Tianjin 300160
Abstract:SAX parsing technology is suitable for streaming XML parsing which has a low system overhead.But SAX does not support simultaneous access to multiple labels.DOM technology traverses the entire document to build a tree view and create the Document object contains the whole XML data.The multi-tag access problem is solved but a larger system over-head.
Keywords:XML  SAX  DOM  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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