标签:support base ror hit dom nic streams tinyxml2 选择
1、tinyxml 的官网
http://www.grinninglizard.com/tinyxml/
2、tinyxml 有2个版本:tinyxml和tinyxml2
3、这2个版本的优缺点如下:
TinyXML-1 or TinyXML-2?
Both parsers:
- Simple to use with similar APIs.
- DOM based parser.
- UTF-8 Unicode support. http://en.wikipedia.org/wiki/UTF-8
Advantages of 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).
- No STL requirement.
- More modern C++, including a proper namespace.
- Proper and useful handling of whitespace
Advantages of TinyXML-1
- Can report the location of parsing errors.
- Support for some C++ STL conventions: streams and strings
- Very mature and well debugged code base.
4、本人果断的选择了 tinyxml2
标签:support base ror hit dom nic streams tinyxml2 选择
原文地址:http://www.cnblogs.com/happykoukou/p/6307257.html