摘要
讨论了解析XML文档的两种API.简要介绍了DOM和SAX在处理XML文档时的不同特点,重点分析了SAX的接口及其相关方法,并通过简单的示例展示了用SAX解析XML文档的方法.
This paper discusses the two kinds of API of parsing XML documents, introduces the different characters about DOM and SAX, analyses the interfaces and methods of SAX and brings forth the methods of how to parse an XML document by SAX through simply examples.
出处
《华东交通大学学报》
2004年第1期84-86,共3页
Journal of East China Jiaotong University