摘要
针对XML解析器在解析大体积XML文件时速度慢的缺点,提出了一种加快其解析速度的新方法,该方法通过对XML文件中关键元素的存储地址编索引的方式实现了对所要解析内容的直接读取;同时给出了该方法的应用实例,并与别的解析方法进行了比较,结果表明该方法能显著提高解析速度。
The naissance of XML brings a revolution of data exchange in Internet. But the speed of parsing XML is an important factor to influence the application of XML. This paper brings forward a method of parsing big volume XML file which improves its speed. The parsing content can be directly read and the parsing speed is improved by indexing the storing addresses of key elements. An applied example of this method is given. The result of comparison with other kinds of parsing methods shows that the parsing speed can be improved notably by this method.
出处
《辽宁工程技术大学学报(自然科学版)》
EI
CAS
北大核心
2007年第1期107-109,共3页
Journal of Liaoning Technical University (Natural Science)
基金
"十五"国家科技攻关重大项目(2004BA210A04)