作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (24): 74-76.

• 论文 • 上一篇    下一篇

XML编程中的DOM与SAX技术

赵俊岚   

  1. 内蒙古财经学院计算机信息管理系 呼和浩特 010070
  • 发布日期:2004-12-25

DOM and SAX Technology in XML Programming

ZHAO Junlan   

  1. (Department of Computer Information and Management, Inner Mongolia Finance and Economics College, Hohhot 010070)
  • Published:2004-12-25

摘要: 在XML的基础上,介绍了DOM与SAX技术的产生以及实现方式。通过引入应用示例对DOM与SAX的工作方式以及解析过程进行了分析,进而对两种技术进行了比较,并指出了DOM与SAX技术所适宜的情况与环境。

关键词: 可扩展标记语言, 文档对象模型, SAX, 节点, 树型结构, 事件驱动

Abstract: The article introduces the occurrence and implementation ways of DOM and SAX technologies respectively based on XML. It analyses working ways and analyzing process of DOM and SAX technologies respectively by inducing some application demonstrations, compares two technologies and points out the constitution and environments suit for DOM and SAX technologies.

中图分类号: