TinyXML is a simple, small, C++ XML parser that can be easily integrating into other programs.
You may want to consider TinyXML-2.
I found myself writing a text file parser every time I needed to save human readable data or serialize objects; I created TinyXML to solve the text I/O file once and for all. (Or, as a friend said, end the Just Another Text File Parser problem.)
TinyXML has evolved from community feedback and become the work of many contributors. It is a simple, stable, basic XML parser used by many open source and commercial products.
Online Documentation: including sample code, general information, and an API reference.
Download the latest source release on Sourceforge. The release contains the source code, demo code, and all the documentation. It is written in OS independent C++.
Please send me e-mail if you like (or don't like) TinyXml - and I'm always curious who is using it! (Although I can no longer provide technical support over email; please use the forums on SourceForge.) General discussion, bugs, CVS access, and patches can all be accessed from the TinyXml Project Page.