tags:

views:

219

answers:

6

I need to do some XML-related job (parsing, comparison etc). Is there any C++ library for this that you know works good ? Preferrably for Win XP. Thanks.

+3  A: 

PugiXml will do it.

Wartin
+1  A: 

I used wxWidgets which has wxXmlDocument class that does a lot of hard work for you. It uses Expat internally, but handles all the charset conversions on its own. This is if you want a DOM based parser.

http://docs.wxwidgets.org/stable/wx_wxxmldocument.html

You might also want to look at Xerces, esp. if you want a SAX parser:

http://xerces.apache.org/xerces-c/

Milan Babuškov
+1  A: 

You may want to try Xerces, Pugixml and Mini-XML.

+5  A: 

Tiny XML! Good library, ugly homepage: http://www.grinninglizard.com/tinyxml/

Laserallan
+2  A: 

I use libxml2: http://www.xmlsoft.org

Remy Lebeau - TeamB
A: 

The xmlwrapp library is C++ wrapper around libxml2 that is quite usable and has the most C++-ish API from the alternatives I tried.

vslavik