XML schema for pinball sim

Questions about XML that are not covered by the other forums should go here.
highrise
Posts: 1
Joined: Wed Dec 07, 2011 1:19 am

XML schema for pinball sim

Post 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!
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: XML schema for pinball sim

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply