comparison dtds/system.xsd @ 72:e7a6f460be57

Re #80: Collapse XSD definitions * Collapse System definition * Collapse Army definition Also: * Fix namespace issue for "core" in army.xsd
author IBBoard <dev@ibboard.co.uk>
date Sun, 10 May 2009 18:43:17 +0000
parents 4308424b4145
children 76d274df9f28
comparison
equal deleted inserted replaced
71:0303ac938fc5 72:e7a6f460be57
3 targetNamespace="http://ibboard.co.uk/warfoundry/system" xmlns="http://ibboard.co.uk/warfoundry/system" elementFormDefault="qualified"> 3 targetNamespace="http://ibboard.co.uk/warfoundry/system" xmlns="http://ibboard.co.uk/warfoundry/system" elementFormDefault="qualified">
4 <xs:element name="system"> 4 <xs:element name="system">
5 <xs:complexType> 5 <xs:complexType>
6 <xs:all> 6 <xs:all>
7 <xs:element name="categories" type="cats:categoriestype" minOccurs="1"/> 7 <xs:element name="categories" type="cats:categoriestype" minOccurs="1"/>
8 <xs:element name="sysStatsList" type="statslisttype" minOccurs="1"/> 8 <xs:element name="sysStatsList" minOccurs="1">
9 <xs:complexType>
10 <xs:sequence>
11 <xs:element name="sysStats" minOccurs="1" maxOccurs="unbounded">
12 <xs:complexType>
13 <xs:sequence>
14 <xs:element name="sysStat" minOccurs="1" maxOccurs="unbounded">
15 <xs:complexType>
16 <xs:attribute name="name" type="xs:string" use="required"/>
17 </xs:complexType>
18 </xs:element>
19 </xs:sequence>
20 <xs:attribute name="id" type="xs:ID" />
21 </xs:complexType>
22 </xs:element>
23 </xs:sequence>
24 <xs:attribute name="defaultStats" type="xs:IDREF" />
25 </xs:complexType>
26 </xs:element>
9 </xs:all> 27 </xs:all>
10 <xs:attribute name="id" type="xs:ID" /> 28 <xs:attribute name="id" type="xs:ID" />
11 <xs:attribute name="name" type="xs:string" use="required"/> 29 <xs:attribute name="name" type="xs:string" use="required"/>
12 <xs:attribute name="warn" type="xs:boolean" default="false"/> 30 <xs:attribute name="warn" type="xs:boolean" default="false"/>
13 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/> 31 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/>
14 </xs:complexType> 32 </xs:complexType>
15 </xs:element> 33 </xs:element>
16 <xs:complexType name="statslisttype">
17 <xs:sequence>
18 <xs:element name="sysStats" type="sysstatstype" minOccurs="1" maxOccurs="unbounded"/>
19 </xs:sequence>
20 <xs:attribute name="defaultStats" type="xs:IDREF" />
21 </xs:complexType>
22 <xs:complexType name="sysstatstype">
23 <xs:sequence>
24 <xs:element name="sysStat" type="sysstattype" minOccurs="1" maxOccurs="unbounded"/>
25 </xs:sequence>
26 <xs:attribute name="id" type="xs:ID" />
27 </xs:complexType>
28 <xs:complexType name="sysstattype">
29 <xs:attribute name="name" type="xs:string" use="required"/>
30 </xs:complexType>
31 </xs:schema> 34 </xs:schema>