Hello,
The first version of my MAME XML parser is complete. Since it is a special purpose parser, it can run much faster than any general-purpose XML parser, such as the expat library that MAME uses.
Basically, a program provides the parser with functions to call when the XML is parsed. You can call function "A" when the horizontal width is parsed, function "B" when the game name is parsed, and so on. You only have to provide functions for the data you need.
I wrote a sample program using this library, called echoxml.exe, which copies an XML file verbatim. It should work on any MAME XML output from v0.84 onwards. It was non-trivial to write this program because the XML spec has changed from time to time.
I will post back when the DLL version is done. Then it will be usable by Visual Basic and other Windows languages. I will also create another example program.
You can download the library, source, and example program from
here.
Regards,
Buddabing