摘要: 根据XML文档与GML文档的数据特征差别,剖析拉DOM和StAX混合解析方法的原理,结合GML的数据特征及应用操作需求,探讨实现混合型方案的可行性,提出一种具有拉DOM功能和StAX优势的混合型解析方法。实验结果表明,该方法对解析大数据量的GML文档效果明显,能满足GML文档解析过程中的复杂空间操作。
关键词:
StAX方法,
拉DOM,
GML语言,
解析器
Abstract: According to the different characteristics of the XML and GML document, this paper parses the principle of the pull DOM and Streaming API for XML(StAX). Combining with the data characteristics of GML and the requirements of application operations, it discusses the feasibility of the mixed scheme, and presents a mixed parsing approach including pull DOM function and StAX advantage. Experimental results show that the method can parse GML document of great capacity efficiently and support complex spatial application operations during the parsing process.
Key words:
Streaming API for XML(StAX),
pull DOM,
Geography Markup Language(GML),
parser
中图分类号:
董学敏, 李岩. 混合型GML解析器的研究与实现[J]. 计算机工程, 2011, 37(2): 37-39.
DONG Hua-Min, LI Yan. Research and Implementation of Mixed GML Parser[J]. Computer Engineering, 2011, 37(2): 37-39.