A list of paid, free or open source C++ (C plus plus) XML libraries, plugins and tools including tree parser, xml generators, XPATH support and more. Sourced under a creative commons. This list will be updated regularly. Email over the URL, if you wish to be included.

C++ XML libraries, plugins and tools

  • Boost.PropertyTree – A property tree parser/generator that can be used to parse XML/JSON/INI/Info files. [Boost] website
  • Expat – An XML parser library written in C. [MIT]
  • Libxml2 – The XML C parser and toolkit of Gnome. [MIT]
  • libxml++ – An XML Parser for C++. [LGPL2]
  • Mini-XML – A small XML parsing library written in ANSI C. [LGPL2 with exceptions]
  • PugiXML – A light-weight, simple and fast XML parser for C++ with XPath support. [MIT]
  • RapidXml – An attempt to create the fastest XML parser possible, while retaining useability, portability and reasonable W3C compatibility. [Boost]
  • TinyXML – A simple, small, minimal, C++ XML parser that can be easily integrating into other programs. [zlib]
  • TinyXML2 – A simple, small, efficient, C++ XML parser that can be easily integrating into other programs. [zlib]
  • TinyXML++ – A completely new interface to TinyXML that uses MANY of the C++ strengths. Templates, exceptions, and much better error handling. [MIT]
  • Xerces-C++ – A validating XML parser written in a portable subset of C++. [Apache2]

Tags: c++, open source, c plus plus, c++ tools, c++ plugins, c++ libraries, c plus plus tools, c plus plus plugins, c plus plus libraries,  tree parser, xml generators, XPATH, XML C Parser, XML parser

Image: Unsplash License.

Portions of this text under: MIT license