摘要: 在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.
中图分类号:
赵俊岚. XML编程中的DOM与SAX技术[J]. , 2004, 30(24): 74-76.
ZHAO Junlan. DOM and SAX Technology in XML Programming[J]. , 2004, 30(24): 74-76.