Anybody have a favorite C++ XML parser? We might need to add an XML/HTTP interface next to an existing CORBA interface soon at work, and I’m not too familiar with the options out there. It’s a very simple interface – a few simple short requests, a few simple, short responses plus one simple, long response. TinyXml seems like it should have all the functionality I need, so I’m leaning that way, but I don’t realy have an informed opinion on the matter.
Post Revisions:
There are no revisions for this post.
Why not Xerces-C++ or Expat? Expat has some intersting C++ bindings as well.
6/15/2006 @ 5:46 am
Xerces-C++ is the other one we’re currently considering. It has a lot more functionality, for better or for worse; it’s not clear yet what the costs and benefits are of having that functionality present.
Expat seems to only be able to parse XML, not to write it, unless I’m missing something. Also, it’s stream-oriented, and I suspect a non-stream-oriented parser will be easier for us to deal with for this project. (The input seems to be very short and straightforward.)
6/15/2006 @ 8:48 am