I’m looking for a way to parse XML in C++ in Windows and I’ve found a few such as MSXML, Xerces, TinyXml etc but I’m wondering which is best in terms of performance and features. My requirements are that it must be able to be static linked or have the source included in the project itself and must not require any additional toolits such as boost. MSXML would be the obvious choice as it’s an MS library but it seems to be a COM library and rather convoluted to actually get any use out of it.
Does anyone have any suggestions as to something quick and simple to use?
Thanks,
J
I used libxml with success. The API is a bit confusing and complicated, but once you get it it works pretty good. Besides it is stuffed with functionality, so if you need that, go with libxml.
You dont have to worry about bloated binaries since you can only link the parts you need. You dont need to include the complete libxml if you only need to parse xml and dont use the xpath stuff for example