What are the best XML parser/generator libraries for C++?

asked by Anonymous
21 contributors
7 solutions
  1. 6


    TinyXML is a simple, small, minimal, C++ XML parser that can be easily integrating into other programs


    Tom Jia
    Written on October 1, 2018
    "I was the best and it still is, thanks to it constant updates, improvements, and bug fixes. Thankfully the devs listen to the community when they report issues and get to work on it almost immediately. Every bug you find and report is usually gone by the next update, that's how fast they work,"
  2. 5


    RapidXML is a very fast, stable, and small XML DOM-parser written in C++. It is aimed primarily for embedded environments, computer games or any other applications where available memory or CPU processing power comes at a premium.


    Christian Davis
    Written on April 11, 2017
    "This parser is easy to use and gets the job done. It doesn't require a lot of libraries as it's all contained in the header. I'm new to the world of programming so when I ran across this I was able to do what I needed to without adding a lot of additional code. The developer is great and was able to answer a quick question I had in a very quick manner."
  3. 3


    pugixml is a light-weight C++ XML processing library. It's extremely portable and very easy to integrate and use. It's also completely free to use in both open-source and proprietary applications.


    Harry Stewart
    Written on January 21, 2017
    "This is fantastic and that pretty much sums up my basic thoughts. I mean, really, if you're working with C++ then eventually you'll need to either generator XML files or parse them and this is fantastic for either."
  1. 0

    #4Natural Docs

    Natural Docs
    Natural Docs is an open-source documentation generator for different programming languages.  You document your code in a regular syntax that reads like plain English.  Natural Docs then scans your code and builds high-quality HTML documentation


    Carolyn Little
    Written on December 18, 2017
    "Easy to use. It scans your codes and helps you build HTML documentation. You can use your data wherever you need it like on a website or send it to someone else. I like this a lot and have used it a lot."
  2. 0

    #5CodeSynthesis XDS

    CodeSynthesis XDS

    CodeSynthesis XDS is an open source XML Scheme for C++ files. The software features easy integration, comprehensive Scheme coverage, and elegant mappings, as well as being an open source feature, among others.




    Joshua Marshall
    Written on October 1, 2018
    "It's easy to use, so even beginners to programming and PC lingo (like me), will be able to use it with little to no issues and learn quickly enough to get how it works."
  3. 0

    #6gSOAP Toolkit

    gSOAP Toolkit

    gSOAP Toolkit is a software for developing XML web services, considered as an extensive suite of portable C and C++ software. gSOAP features powerful web services and web development tools, among others.


    Windows, Mac, Linux


    Jim Gao
    Written on October 1, 2018
    "This parser is orettt good since it runs well on my Mac without any problems as of the moment. I'll change my rating when I find any issues."
  4. 0


    Xerces-C++ is a C++ written processor for parsing, validating, serializing, and manipulating XML.


    Albert Gardner
    Written on March 31, 2017
    "Xerces-C++ is a super easy to use application to parse C++. Other programs are hard and complicated to use, but Xerces is simple to use!"


Best What are the best XML parser/generator libraries for C++
1TinyXMLWebsites 6 Free
2RapidXMLWebsites 5 Free
3pugixmlWebsites 3 Free
4Natural DocsWebsites 0 Free
5CodeSynthesis XDSSoftware 0 Free
6gSOAP ToolkitSoftware 0 Free
7Xerces-C++Websites 0 Free

This action requires you to be logged in

Quickly sign in with your social media account:

What interests you most? (Select at least 3)

This will help us to keep things fresh and relevant!


Now that you’ve found a solution...

Why not join our community of sharp minds and pro-active posters?

Be part of a rewarding interactive knowledge exchange!

Join These Inquisitive Minds

Engage, learn and share with a friendly community versed in a massive range of trending topics.