Page 1 of 1

XML schema for pinball sim

Posted: Wed Dec 07, 2011 1:24 am
by highrise
...yes you read that correctly. A while ago I developed a system which allowed the rules of a pinball table to be stored in XML. Basically it's like a description of each switch and what should happen.

However, I gave up, the main reason being that I didn't understand XML well enough to build a schema, and without a schema, writing the code was becoming very tricky.

So I figured I'd register here and see if anyone might be willing to write me a schema? it's not a hugely complex thing, just various different types of switches and behaviours - as I said, I just found myself a bit confounded.

I guess it goes without saying that this is a blatant request for an act of kindness - I'm hopeful one of you guys might like the sound of it as a fun challenge.

thanks!

Re: XML schema for pinball sim

Posted: Tue Dec 20, 2011 6:07 pm
by adrian
Hello,

If you have several sample XML files, you could use Oxygen to generate an XML schema(Tools -> Generate/Convert Schema) as a starting point.

Regards,
Adrian