RE: [GD-General] XML parsers (was: A portable preferences library)
Brought to you by:
vexxed72
From: Tom S. <to...@pi...> - 2003-12-05 19:13:52
|
> > And indeed, to get game-quality optimisations, I'll have to > write my > > own micro XML parser so we can stop using Xerces > Xerces? We decided against using a validating parser, > and are happily using expat. If your looking for a very small fast XML parser CMarkup ( http://www.firstobject.com/dn_markup.htm ) is it. Download the eval zip which contains all the source... It's just one header and source file which is under 1600 lines all together. It has 3 different flavors... MFC, STL, and one that wraps MSXML.DLL. The thing is so simple that you can easily 'find and replace all' your own string class if necessary. It also uses EDOM ( http://www.firstobject.com/dn_edom.htm ) which makes querying the parser for data dead simple. If you can't tell I had a very good experience with it. Definitely check it out. Tom |