Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: chrisindfw on April 09, 2004, 01:40:45 pm

Title: xmlInfo
Post by: chrisindfw on April 09, 2004, 01:40:45 pm
What is xmlinfo and the xml2info.exe and what does it do and how do I create xmlinfo?

Thanks
Title: Re:xmlInfo
Post by: Howard_Casto on April 09, 2004, 03:00:51 pm
Xmlinfo converts the standard listinfo data into an xml file.  You don't do anything with it, it's for developers.  :)

To generate a xml version of the listinfo type:
"mame -listxml"

It calls the exe itself, so don't bother trying ot figure it out.

Also be aware that it's not "true" xml.  It has several flaws that make it unparsable by most xml readers.  
Title: Re:xmlInfo
Post by: Lilwolf on April 09, 2004, 03:38:45 pm
I didn't have any problem parsing it in java.

But I only picked out the info I was interested in.
Title: Re:xmlInfo
Post by: Howard_Casto on April 09, 2004, 06:42:16 pm
The structure in the comments has some bad data, I don't use xml so I don't know the specifics.
Title: Re:xmlInfo
Post by: SirPoonga on April 09, 2004, 10:50:30 pm
I use the xml file to update controls.dat.  M$ XML 4.0 libraries handle it just fine.