Jump to content
  • Advertisement
Sign in to follow this  
GenuineXP

C++ XML Library Suggestions

This topic is 3749 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm just wondering if I could get a few suggestions for XML parsing libraries for C++. I've used TinyXML in the past, but that's about it, and I'm not really sure what else is out there or worth learning. Also, I've seen message board posts about proposing an XML library for Boost. Is this a reality, or just people's dreams? :P (If there is a Boost.XML library, I'd surely use it.) Anyway, any suggestions and rationale would be greatly appreciated. Thanks, GameDev!

Share this post


Link to post
Share on other sites
Advertisement
I use tinyXML for all my XML parsing needs. I'm curious why you need another library for it. Does tinyXML not meet your needs for something?

Share this post


Link to post
Share on other sites
Actually, TinyXML has done everything I need it to thus far (though I never figured out how to write XML back out properly). I'm just curious about alternatives, particularly those that work in different way than TinyXML.

Share this post


Link to post
Share on other sites
XMLParser from http://www.applied-mathematics.net/tools/xmlParser.html is great! Two files: one header and one source file, and you're good to go.

I've been using this for about a year now and I've never looked back to tinyXML or Xerces *ugh*.

Share this post


Link to post
Share on other sites
I actually use TinyXML with TinyXPath. After getting XPath in, I've never used XML in the same way. Searching with a query string is much easier than browsing through children and siblings.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!