基于Sax的嵌入式轻量级xml解析实现  被引量:2

Implementation of Embedded Lightweight XML Parsing Based on Sax

在线阅读下载全文

作  者:刘青云 马文跃 焦铬 LIU Qing-yun;MA Wen-yue;JIAO Ge(College of Computer Science and Technology,Hengyang Normal University,Hengyang Hunan 421002,China;Criminal technical detachment of Hengyang Railway Public Security Department,Hengyang Hunan 421002,China)

机构地区:[1]衡阳师范学院计算机科学与技术学院,湖南衡阳421002 [2]衡阳铁路公安处刑事技术支队,湖南衡阳421002

出  处:《衡阳师范学院学报》2018年第6期24-28,共5页Journal of Hengyang Normal University

基  金:2017年湖南省教育厅科学研究一般项目(17C0223);2016年湖南省教育厅科学研究优秀青年项目(16B039);2017年湖南省自然科学基金面上项目(2017JJ2010)

摘  要:嵌入式Web服务能充分利用Web服务技术实现异构平台的数据交互和应用集成,xml解析是Web服务中重要一环,设计一款Sax方式的轻量级C语言xml解析器EmbedSax,以事件为驱动,借助树节点信息,准确高效地从xml文档中提取Web服务兴趣内容和生成xml,并在嵌入式平台上实现和验证。实验结果表明,在同等解析条件下与常用Sax解析器相比具有更高解析效率,可为资源受限平台Web服务和xml解析技术应用提供一定参考。Embedded Web Service can make full use of web service technology to realize data interaction and application integration on heterogeneous platforms.XML parsing is an important part of web service.Design a lightweight C language XML event-driven parser EmbedSax in Sax mode.With tree node information,It extracts the content of interest from the XML document and generates xml accurately and efficiently,then implements and verifies on the embedded platform.The experimental results show that under the same parsing conditions,it has higher parsing efficiency than the common Sax parsers,and can provide some reference for the application of resource-constrained platform web services and XML parsing technology.

关 键 词:XML解析 SAX 嵌入式 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象