Is there any good way (and a simple way too) using Boost to read and write XML files?
I can\'t seem to find any simple sample to read XML files using Boost. Can you
There's also TinyXML, which is a nice and small C++ library. If you are looking for a lower-level library, RapidXML is a great starting point.
If you are looking for DOM functionality only, there are some suggestions already in this thread. I personally would probably not bother with a library lacking XPath support, and in C++, would use Qt. There's also TinyXPath, and Arabica claims to have XPath support, but I cannot say anything at all about those.
A warning. I love RapidXML, but it has a very nasty bug when parsing UTF16. Some valid values cause it to crash.
I would love to recommend pugixml - but it lacks namespace support, which I know is going to cause me problems.