Does anyone know of a good C++ XML lib?
A lot of projects I've seen which use XML use TinyXML as athe parser so it must be pretty good.
Quote:Original post by ErUsYup, TinyXML is a good one. Takes a bit of getting use to, but you'll get it eventually.
Tiny XML ?
http://sourceforge.net/projects/tinyxml/
I would recommend the libxml2 library http://www.xmlsoft.org. TinyXML can only do DOM parsing, which is often slow and memory consuming. libxml2 has a set of API's and I especially recommend you to look at the xmlreader API. It is kind of like the old SAX parsing method, but without callbacks...you can read about it here http://www.xmlsoft.org/xmlreader.html
msxml from microsoft is really good too. It does DOM and SAX parsing and it also does validating if you need that to. We were able to build some really useful xml validation unit tests very quickly thanks the msxml's DTD validation.
Cheers
CHris
Cheers
CHris
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement