view dtds/army.dtd @ 4:163b35f875ef

Re #7 - Add DTDs to API project because they're API related rather than GUI related no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Fri, 26 Dec 2008 12:32:16 +0000
parents
children
line wrap: on
line source

<!ELEMENT army (units,customEquipment)>
<!ELEMENT units (unit*)>
<!ELEMENT unit (equipment?)>
<!ELEMENT equipment (equipItem*)>
<!ELEMENT equipItem EMPTY>
<!ELEMENT customEquipment (customEquipment*)>
<!ELEMENT customEquip EMPTY>

<!ATTLIST army id CDATA #REQUIRED>
<!ATTLIST army name CDATA #REQUIRED>
<!ATTLIST army system CDATA #REQUIRED>
<!ATTLIST army race CDATA #REQUIRED>
<!ATTLIST army maxPoints CDATA #REQUIRED>

<!ATTLIST unit id CDATA #REQUIRED>
<!ATTLIST unit unitType CDATA #REQUIRED>
<!ATTLIST unit unitName CDATA #REQUIRED>
<!ATTLIST unit race CDATA "">
<!ATTLIST unit size CDATA "">

<!ATTLIST equipItem id CDATA #REQUIRED>
<!ATTLIST equipItem amount CDATA #REQUIRED>