C++解析XML方法的研究和实现  被引量:4

Research and Implementation of Using C++ to Analyze XML

在线阅读下载全文

作  者:王超[1] 郑清[1] 

机构地区:[1]成都理工大学计算机科学与技术学院,四川成都610059

出  处:《电脑与电信》2012年第5期66-67,共2页Computer & Telecommunication

摘  要:对XML语言进行了简要的介绍,XML作为简单的配置文件可以帮助我们更高效地运行程序。在简述XML基本概念的基础上,介绍了C++轻量级解析器Tinyxml以及C++标准模板库的一些信息。研究了利用Tinyxml,以及C++标准模板库的MAP容器,在Windows环境下如何快速读取XML配置文档以及保存读取出的配置信息,能够实现快速地解析XML文档。XML language is briefly reviewed in this paper. As simple config file, XML can help to carry on the procedures more efficiently. This paper introduces the basic concept of XML, the C+ + lightweight parser Tinyxml and some information of C++ standard template base. It studies how to read XML configuration document and preserve configuration information quickly in Windows environment, using Tinyxml and MAP container of C++ standard template base. It can analyze XML document rapidly.

关 键 词:XML TINYXML MAP 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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