TinyXML开源XML解析器-TinyXML-2

前端之家收集整理的这篇文章主要介绍了TinyXML开源XML解析器-TinyXML-2前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。


TinyXML-2 is a simple,small,efficient,C++ XML parser that can be easily integrating into other programs.

TinyXML-2 是一个简单、小型、高效的C++ XML解析器,它可以很容易地集成到其他程序。


TinyXML-1 served my needs for many years; but it uses memory inefficiently,and doesn't perform as well as desired for mobile devices. I wanted an XML parser that was a little more modern,a little simpler (the "tiny" had been lost a little over the years),and was a good fit for Android.
TinyXML-1 是我多年来的需要;但它使用内存的效率低下,像在移动设备下它不能运行。我想要一个更流行更简单的XML解析器("tiny"这个词已经失去了很多年),但对于Android是个不错的选择。


This led to TinyXML-2.
这个通向TinyXML-2。


Online Documentation: general information and an API reference.
在线文档:包含一般的信息和API参考。


TinyXML-2 is available on github,where you can send Feedback,get source,share,and submit changes. (You can download the source as a zip using the "Download ZIP" button on the right side.)
TinyXML-2 已托管到 github,你可以对反馈问题,取的代码分享,提交,修改代码。(你可以在右侧的“Download ZIP”按钮,下载zip档。) TinyXML-1 or TinyXML-2? TinyXML-1 还是 TinyXML-2? Both parsers: 共同点: Simple to use with similar APIs. 简单的实用类似的API函数。 DOM based parser. 基于DOM的解析器。 UTF-8 Unicode support. http://en.wikipedia.org/wiki/UTF-8 UTF-8 Unicode 支持:http://en.wikipedia.org/wiki/UTF-8 Advantages of TinyXML-2 TinyXML-2优点 The focus of all future dev. 专注于支持未来所哟设备。 Many fewer memory allocation (1/10th to 1/100th),uses less memory (about 40% of TinyXML-1),and faster (~5x on read). 更少的内存需要(1/10th to 1/100th??),占用更少的内存(大约是TinyXML-1的40%),更快(读的速度加快5倍)。 No STL requirement. 不需要STL。 More modern C++,including a proper namespace. 用更流行C++,包含一个适当的命名空间。 Proper and useful handling of whitespace 适当的和有用的空格的处理。 Advantages of TinyXML-1 TinyXML-1优点 Can report the location of parsing errors. 能报告解析出错的具体问题。 Support for some C++ STL conventions: streams and strings 支持一些C++ STL的约定:streams 和 strings. Very mature and well debugged code base. 非常成熟和调试代码库. Thanks for your interest in TinyXML - I hope it is a great parser for your needs. 非常感谢你对TinyXML感兴趣--我希望这是一个伟大的解析器,并且能满足你的需求。 And thanks to John Mackay for the logo! 最后感谢John Mackay贡献的logo

猜你在找的XML相关文章