Go Back   nV News Forums > Software Forums > Software Development

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-27-07, 11:03 PM   #1
Subtestube
Anisymbolic
 
Subtestube's Avatar
 
Join Date: Aug 2004
Location: Wellington, New Zealand
Posts: 1,365
Default Lightweight C++ XML parsing/reading libraries?

To save myself some work on a potentially large-ish scale personal project, I'd like to use XML for most of the data-driven stuff (bar the ini file, which I'll write my own simple parser for). With that in mind, I'm looking for a relatively simple and well documented third party library that can do the brute work of getting XML data out of files, and into properly tagged C++ objects.

I've heard of "TinyXML", and although I've not investigated properly yet, it sounds like it might be enough for me. Before I commit to that though, I was interested in whether anyone here has any good suggestions?
__________________
Dr Possible: Core 2 Duo E6400 on Gigabyte GA-965P-DS4. Galaxy GeForce 7600GT. 2GB Corsair XMS 2 DDR2-6400 RAM (CL5). ATi Theatre 550 Pro. Windows XP MCE. All stored in Piano black Antec Sonata II, with a broken door.

Mobile: ASUS M2400N, Pentium M 1.5 GHz. 512 MB DDR RAM. Intel EXTREME graphics. Windows XP SP 2 / Ubuntu 5.10.

Ridiculous DOES not have an 'e' in it. It comes from "ridicule" and has less than nothing to do with the colour red.
Subtestube is offline   Reply With Quote
Old 01-28-07, 07:44 AM   #2
Greg
Registered User
 
Join Date: Aug 2002
Location: Australia
Posts: 1,177
Default Re: Lightweight C++ XML parsing/reading libraries?

Tiny (as you already mention) is not bad.
http://www.grinninglizard.com/tinyxml/

MicroXML is probably faster and equally featured:
http://www.somedude.net/modules.php?...download&sid=3

They both provide parsing and some kind of document interface. Neither support full XML spec, but depending on what you use it for, both should be adequate and easy to use.
Greg is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:24 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.