摘要
讨论了XML解析器的C++实现以及对应的DOM接口,其主要任务是为应用程序提供一个简洁、高速、低内存消耗的XML解析接口,并在保证性能的前提下提供尽可能多的DOM支持。讨论了一个解析器的模型,以及如何用LEX和YACC来实现这个解析器及DOMLevel 1Core的C++实现和与解析器的配合问题。
This paper discussed one of them which implemented DOM interface using C + + language. The parser was a lightweight one. It didn't contain the function of well-formed validation. The main purpose was to provide a refine, rapid, low memory-cost XML parsing interface which supports DOM as much as possible. It discussed the model of the parser and how to implement i.t using LEX and YACC. The C + + implementation of DOM Level 1 Core and its co-work ability with the parser were also discussed.
出处
《计算机应用研究》
CSCD
北大核心
2007年第12期268-271,共4页
Application Research of Computers