Hi guys,

Looking for opinions on what would be the best/easiest xml parser to use.

Size and speed aren't really an issue here, just ease of use. Using std::strings as well would be beneficial.

Please reply only if you've had experience using one.

Edited by iamthwee: n/a

Votes + Comments
Informative! TinyXML++
6 Years
Discussion Span
Last Post by scrontch

Xerces is robust and comprehensive XML parser, with a lot of functionality such as DTD verification and character set detection and conversion (in conjuction with ICU lib). That said, ease of use is NOT it's strong point. The API is huge and it does not use std::string (uses it's own internally defined wide character type), it's default character set is UTF-16 and conversion requires familiarity with the ICU library, which is another monster.

Something that may be more suited to your needs (i.e. lightweight and flexible) would probably be 'expat', though I have only briefly looked at it. Check out http://expat.sourceforge.net/.

Edited by constantinm: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.