Jump to content
  • Advertisement
Sign in to follow this  
WillPash

Simple XML reading/parsing tutorials in C++

This topic is 4419 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

As i am new to using XML in my applications, does anyone know where i can find a easier tutorial for me to parse XML using C++ and the libXML(preferably) or TinyXML libraries. As all i want to do is read from the XML information and use it inside my application. Thanks

Share this post


Link to post
Share on other sites
Advertisement
Not sure about libXML, I use TinyXML exclusively, and LOVE it.

TinyXML has a "testxml.cpp" file in the distribution that serves as a good tutorial. I read through it, and within 1/2 an hour, I was parsing XML files.

Share this post


Link to post
Share on other sites
Also if you look in the doc directory that comes with the latest version of TinyXML, theres a pretty good tutorial (tutorial0.html). Between the testxml.cpp file and the info in the docs directory, you should be able to figure it out (its actually very easy to use).

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!