View Single Post
Old Feb 15th, 2008, 8:41 AM   #4
Game_Ender
Professional Programmer
 
Game_Ender's Avatar
 
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3 Game_Ender is on a distinguished road
Re: Building a simple XML Parser

If that's all you wanted: TinyXML is your best bet for a quick solution. It is a DOM based parser, so it loads the entire file into memory upon parsing. The XML is basically turned into a tree which you can navigate. This means you really don't want to use if you have to process hundreds of megs of XML, but for many uses TinyXML is prefect.

EDIT: I am just a little floored, TinyXML is written by Lee Thomason, the "Programmer and technical lead for the Flash Player".
__________________
Robotics @ Maryland AUV Team - Software Lead
Game_Ender is offline   Reply With Quote