comparison dtds/race.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
comparison
equal deleted inserted replaced
3:f8932e1a6f5f 4:163b35f875ef
1 <!ELEMENT race (units,categories?,equipment?, abilities?)>
2 <!ELEMENT categories (cat+)>
3 <!ELEMENT cat EMPTY>
4 <!ELEMENT units (unit+)>
5 <!ELEMENT unit (unitCats,stats,unitEquipment,requires?,exclusiveOf?,champions?,specialItems?,attachable?,additionalMembers?)>
6 <!ELEMENT unitCats (unitCat+)>
7 <!ELEMENT unitCat EMPTY>
8 <!ELEMENT stats (stat+)>
9 <!ELEMENT stat (#PCDATA)>
10 <!ELEMENT unitEquipment (unitEquipmentItem*)>
11 <!ELEMENT unitEquipmentItem EMPTY>
12 <!ELEMENT requires (required+)>
13 <!ELEMENT required EMPTY>
14 <!ELEMENT exclusiveOf (exclusive+)>
15 <!ELEMENT exclusive EMPTY>
16 <!ELEMENT champions (champion+)>
17 <!ELEMENT champion EMPTY>
18 <!ELEMENT specialItems (specialItem+)>
19 <!ELEMENT specialItem EMPTY>
20 <!ELEMENT attachable (attachableUnit+)>
21 <!ELEMENT attachableUnit EMPTY>
22 <!ELEMENT additionalMembers (additionalMember+)>
23 <!ELEMENT additionalMember EMPTY>
24 <!ELEMENT equipment (equipmentItem*)>
25 <!ELEMENT equipmentItem (stats?)>
26 <!ELEMENT abilities (ability?)>
27 <!ELEMENT ability (description,requirements)>
28 <!ELEMENT description (#PCDATA)>
29 <!ELEMENT requirements (requirement*)>
30 <!ELEMENT requirement (#PCDATA)>
31
32 <!ATTLIST race id ID #REQUIRED>
33 <!ATTLIST race subid CDATA "">
34 <!ATTLIST race system CDATA #REQUIRED>
35 <!ATTLIST race name CDATA #REQUIRED>
36
37 <!ATTLIST cat id ID #REQUIRED>
38 <!ATTLIST cat name CDATA #REQUIRED>
39 <!ATTLIST cat minimum CDATA #REQUIRED>
40 <!ATTLIST cat maximum CDATA #REQUIRED>
41 <!ATTLIST cat baseValue CDATA #IMPLIED>
42 <!ATTLIST cat incValue CDATA #IMPLIED>
43 <!ATTLIST cat incAmount CDATA #IMPLIED>
44
45 <!ATTLIST unit id ID #REQUIRED>
46 <!ATTLIST unit typeName CDATA #REQUIRED>
47 <!ATTLIST unit cat CDATA #REQUIRED>
48 <!ATTLIST unit unitPoints CDATA "0">
49 <!ATTLIST unit points CDATA #REQUIRED>
50 <!ATTLIST unit race CDATA "">
51 <!ATTLIST unit minNum CDATA "0">
52 <!ATTLIST unit maxNum CDATA "-1">
53 <!ATTLIST unit minSize CDATA "5">
54 <!ATTLIST unit maxSize CDATA "-1">
55 <!ATTLIST unit baseSize CDATA "0">
56
57 <!ATTLIST unitCat catID CDATA #REQUIRED>
58 <!ATTLIST unitCat catCost CDATA "1">
59
60 <!ATTLIST stats statSet CDATA "">
61
62 <!ATTLIST stat name CDATA #REQUIRED>
63
64 <!ATTLIST unitEquipmentItem id CDATA #REQUIRED>
65 <!ATTLIST unitEquipmentItem required (true|false) "false">
66 <!ATTLIST unitEquipmentItem exclusivityGroup CDATA "">
67 <!ATTLIST unitEquipmentItem roundDirection (up|down) "up">
68
69 <!ATTLIST equipmentItem id ID #REQUIRED>
70 <!ATTLIST equipmentItem name CDATA #REQUIRED>
71 <!ATTLIST equipmentItem cost CDATA #REQUIRED>
72 <!ATTLIST equipmentItem min CDATA "-1">
73 <!ATTLIST equipmentItem max CDATA "-1">
74 <!ATTLIST equipmentItem armourType (None|Shield|LightArmour|LightArmourShield|HeavyArmour|HeavyArmourShield|Barding|BardingShield|BardingLightArmour|BardingLightArmourShield|BardingHeavyArmour|BardingHeavyArmourShield) "None">
75
76 <!ATTLIST ability id ID #REQUIRED>
77 <!ATTLIST ability name CDATA #REQUIRED>