views:

135

answers:

6

We are aware of MSXML, based on COM technologies. We want to use it for a VC++ project starting soon. Are there any other XML libraries do good compared to MSXML?

A: 

Will you be using the .Net Framework if so you may want to look at using linq to xml.

Sean Barlow
Sorry, .NET is not option for us due to various project hosting setup
Gopalakrishnan Subramani
+2  A: 

TinyXML - A C++ open source library

Arve
+1  A: 

We ditched MSXML in favor of Xerces for our project, although Xerces is also a big, complicated beast. The TinyXML suggestion is probably a good one if it does everything you need it to. If you only need basic SAX model support (and not a DOM), then you might also consider expat which is one of the first widely used XML parsers.

Mike Ellery
+1  A: 

LIBXML "Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), it is free software available under the MIT License."

I have used it for many years on Win32 projects without problem. It supports both SAX and DOM style reading.

Bruce Ikin
+1  A: 

You must take a look at Microsoft XmlLite which is a pull parser for pure C++. The primary goals of XmlLite are ease of use, performance, and standards compliance.

Samuel Zhang
+1  A: 

Take a look at RapidXML. Also, Boost.PropertyTree is an abstraction over property trees (XML, JSON, INI, INFO at the time of writing) and relies on RapidXML for its XML parser.

wilhelmtell