comparison dtds/race.xsd @ 166:6902f49e16e0

Re #198: Add slots with counts to units * Add definition to race schema Also: * white-space changes in .csproj file
author IBBoard <dev@ibboard.co.uk>
date Tue, 06 Oct 2009 14:47:06 +0000
parents 71e50c0884a2
children 8e7bbea333d8
comparison
equal deleted inserted replaced
165:71e50c0884a2 166:6902f49e16e0
26 </xs:sequence> 26 </xs:sequence>
27 <xs:attribute name="statSet" type="xs:string" default="" /> 27 <xs:attribute name="statSet" type="xs:string" default="" />
28 <xs:anyAttribute/> 28 <xs:anyAttribute/>
29 </xs:complexType> 29 </xs:complexType>
30 </xs:element> 30 </xs:element>
31 <xs:element name="equipmentSlots" minOccurs="0">
32 <xs:complexType>
33 <xs:sequence>
34 <xs:element name="equipmentSlot" maxOccurs="unbounded">
35 <xs:complexType>
36 <xs:simpleContent>
37 <xs:extension base="xs:string">
38 <xs:attribute name="name" type="xs:string" use="required"/>
39 <xs:attribute name="limit" type="xs:positiveInteger" use="required"/>
40 <xs:anyAttribute/>
41 </xs:extension>
42 </xs:simpleContent>
43 </xs:complexType>
44 </xs:element>
45 </xs:sequence>
46 </xs:complexType>
47 </xs:element>
31 <xs:element name="unitEquipment" minOccurs="0"> 48 <xs:element name="unitEquipment" minOccurs="0">
32 <xs:complexType> 49 <xs:complexType>
33 <xs:sequence> 50 <xs:sequence>
34 <xs:element name="unitEquipmentItem" maxOccurs="unbounded"> 51 <xs:element name="unitEquipmentItem" maxOccurs="unbounded">
35 <xs:complexType> 52 <xs:complexType>
36 <xs:attribute name="id" type="xs:IDREF" /> 53 <xs:attribute name="id" type="xs:IDREF" />
37 <xs:attribute name="required" type="xs:boolean" default="false"/> 54 <xs:attribute name="required" type="xs:boolean" default="false"/>
38 <!-- exclusivityGroup is deprecated in favour of the comma-separated exclusivityGroups --> 55 <!-- exclusivityGroup is deprecated in favour of the comma-separated exclusivityGroups -->
39 <xs:attribute name="exclusivityGroup" type="xs:string" default=""/> 56 <xs:attribute name="exclusivityGroup" type="xs:string" default=""/>
40 <xs:attribute name="exclusivityGroups" type="xs:string" default=""/> 57 <xs:attribute name="exclusivityGroups" type="xs:string" default=""/>
58 <xs:attribute name="equipmentSlot" type="xs:string"/>
41 <xs:attribute name="minNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/> 59 <xs:attribute name="minNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/>
42 <xs:attribute name="maxNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/> 60 <xs:attribute name="maxNum" type="core:nonNegativeOrInfiniteInteger" default="-1"/>
43 <xs:attribute name="minPercentage" type="core:percentage" default="100"/> 61 <xs:attribute name="minPercentage" type="core:percentage" default="100"/>
44 <xs:attribute name="maxPercentage" type="core:percentage" default="100"/> 62 <xs:attribute name="maxPercentage" type="core:percentage" default="100"/>
45 <xs:attribute name="roundDirection" type="updowntype" default="up"/> 63 <xs:attribute name="roundDirection" type="updowntype" default="up"/>