Jump to content
  • Advertisement
Sign in to follow this  
pnroach

XML parser?

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

Advertisement
Quote:
Original post by ricekrispyw
I heartily recommend TinyXML. Very small, very easy to work with.


You should use it in cases, where performance doesn't matter. It's ~2 times slower than libxml2

Share this post


Link to post
Share on other sites
Quote:
Original post by Generic Guest
Quote:
Original post by ricekrispyw
I heartily recommend TinyXML. Very small, very easy to work with.

You should use it in cases, where performance doesn't matter.
Funny, the same thing can be said about the XML format itself. So I wouldn't worry about it, at least not for any formats of your own design (and you rarely have to deal with foreign XML formats in game development).
TinyXML is the only XML parser I've tried that I didn't feel forced to wrap up before using.

Share this post


Link to post
Share on other sites
Quote:
Original post by doynax
Funny, the same thing can be said about the XML format itself. So I wouldn't worry about it, at least not for any formats of your own design (and you rarely have to deal with foreign XML formats in game development).


There are many cases when you don't want to invent your own format, or you have to use some foreign format. Then, performance makes sense.

Share this post


Link to post
Share on other sites
Sorry to be nitpicky, but what cases would that be?

I kinda liked the xml format when I first saw it, but I havn't found one single case that needed it. Maybe you can enlighten me/us?

Share this post


Link to post
Share on other sites
Quote:
Original post by pnroach

please give any links to a free XML parser library


I've been using Xerces. It appears to be fairly robust.

Share this post


Link to post
Share on other sites
Quote:
Original post by Joakim_ar
I kinda liked the xml format when I first saw it, but I havn't found one single case that needed it. Maybe you can enlighten me/us?


I myself work with business-process definition languages, all of them are based on xml =) Also most hand-constructed network protocols involving http server use xml.

Cal3d has both binary and xml representation. Ogre3d has binary and xml representation.

OpenOffice.org uses xml only.

Look at oasis-open.com =)

This list is only what came to head in the first time.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!