From Wikipedia, the free encyclopedia
Jump to: navigation, search
Developer(s) Marcin Kalicinski
Stable release 1.13 / May 16, 2009 (2009-05-16)
Written in C++
Operating system Cross-platform
License MIT License, Boost Software License
Website http://rapidxml.sourceforge.net/

RapidXml is a very fast and stable XML DOM-style parser written in C++. It is aimed primarily at embedded environments, computer games, or any other applications where available memory or CPU processing power comes at a premium. RapidXml is dual-licensed under the MIT license and the Boost Software License, and its source code is freely available.


  • Parsing speed (including DOM tree building) approaching speed of strlen function executed on the same data. On a modern CPU (as of 2008) the parser throughput is about 1 billion characters per second. See Performance section in the Online Manual.
  • Small memory footprint of the code and created DOM trees.
  • Configurable memory allocation.
  • A headers-only implementation, simplifying the integration process.
  • Simple license that allows use for almost any purpose, both commercial and non-commercial, without any obligations.
  • Supports UTF-8 and partially UTF-16, UTF-32 encodings.
  • Portable source code with no dependencies other than a very small subset of C++ Standard Library. This subset is so small that it can be easily emulated manually if use of standard library is undesired.


  • The parser ignores DOCTYPE declarations.
  • There is no support for XML namespaces.
  • The parser does not check for character validity.
  • The interface of the parser does not conform to DOM specification.
  • The parser does not check for attribute uniqueness.


External links[edit]