-
Notifications
You must be signed in to change notification settings - Fork 2
Xml Set Description
The main description of a set is an XML file.
The XSD schema definition for sets is available here: cardset.xsd
TODO: Describe the format in a more friendly way than just providing XSD
unique id's for sets and cards MUST be in the following form 8 hex digits - 4 hex digits - 4 hex digits - 4 hex digits - 12 hex digits
A rough description of the XML file using real xml as an example:
<gameVersion="game version, found in .o2g/gamename.xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CardSet.xsd">
defines the cards for a set
an individual card from a set of cards, name and unique id are required REQUIRED FIELD - rest of card information is as defined in .o2g/gamename.xml under subheading and will be a series of the following to meet the card specs
<property name="" value="" />
<property name="" value="" />
<property name="" value="" />
all properties within a card are name/value pairs and must be made this way and must match the card layout from the .o2g game definition
</card>
multiple card elements should be nested within the cards element, in this way a set of cards made up of lots of individual card is formed
<property name="" value="" />
<property name="" value="" />
<property name="" value="" />
</card>
Unable to determine immediate purpose of marker class from XSD
close of set