TinyXML Open source XML parser-tinyxml-2

Source: Internet
Author: User
Tags xml parser


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

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


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 is a little more modern, a little simpler (the "tiny" had been lost a little over the years), And is a good fit for Android.
TinyXML-1 is my need for years, but it's inefficient to use memory, like it can't run under a mobile device. I want a more popular and simpler XML parser (the word "tiny" has been lost for many years), but it's a good choice for Android.


This led to TinyXML-2.
This leads to TinyXML-2.


Online documentation:general Information and an API reference.
Online Documentation: Contains general information and API references.


TinyXML-2 is available on GitHub, where 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 has been hosted on GitHub, you can feedback questions, take the code, share, submit, and modify the code. (You can download the zip file in the "Download zip" button on the right.) )


TinyXML-1 or TinyXML-2?
TinyXML-1 or TinyXML-2?


Both parsers:
Common:
Simple-to-use with similar APIs.
Simple utility-like API functions.
DOM based parser.
DOM-based parser.
UTF-8 Unicode Support. Http://en.wikipedia.org/wiki/UTF-8
UTF-8 Unicode Support: http://en.wikipedia.org/wiki/UTF-8


Advantages of TinyXML-2
TinyXML-2 Advantages
The focus of all future dev.
Focus on supporting the future of your device.
Many fewer memory allocation (1/10th to 1/100th), uses less memory (about 40% of TinyXML-1), and faster (~5x on read).
Less memory required (1/10th to 1/100th?? ), takes up less memory (about 40% of TinyXML-1), and is faster (up to 5 times times faster reading).
No STL requirement.
No STL required.
More modern C + +, including a proper namespace.
In a more popular C + +, include an appropriate namespace.
Proper and useful handling of whitespace
appropriate and useful whitespace handling.


Advantages of TinyXML-1
TinyXML-1 Advantages
Can report the location of parsing errors.
Can report the specific problem of parsing error.
Support for some C + + STL Conventions:streams and strings
Support for some C + + STL conventions: streams and strings.
Very mature and well debugged code base.
Very mature and debug code library.
Thanks for your interest in Tinyxml-i hope it's a great parser for your needs.
Thank you very much for your interest in tinyxml-I hope this is a great parser and can meet your needs.


And thanks to John Mackay for the logo!
Finally, thank John Mackay for his contribution to the logo!.

TinyXML Open source XML parser-tinyxml-2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.