Worthy tool / library for C ++ for XML processing?

I need to do some work related to XML (parsing, comparing, etc.). Is there any C ++ library for this that you know works well? Preferred for Win XP. Thanks.

+4
source share
6 answers

PugiXml will do this.

+3
source

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

+5
source

I am using libxml2: http://www.xmlsoft.org

+2
source

I used wxWidgets, which has a wxXmlDocument class that works a lot for you. It uses Extat internally, but it handles all encodings. This is if you want a parser based on the DOM.

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

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

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

+1
source

You can try Xerces, Pugixml, and Mini-XML.

+1
source

The xmlwrapp library is a C ++ shell around libxml2, which is quite applicable and has most of the C ++ ish APIs from the alternatives I tried.

0
source

All Articles