comparison dtds/race.xsd @ 168:8e7bbea333d8

Re #198: Add slots with counts to units * Add starts of updated API and updated DTD to handle both numeric and ratio limits
author IBBoard <dev@ibboard.co.uk>
date Tue, 06 Oct 2009 15:44:04 +0000
parents 6902f49e16e0
children 22429737cd77
comparison
equal deleted inserted replaced
167:9ba56a8e5096 168:8e7bbea333d8
34 <xs:element name="equipmentSlot" maxOccurs="unbounded"> 34 <xs:element name="equipmentSlot" maxOccurs="unbounded">
35 <xs:complexType> 35 <xs:complexType>
36 <xs:simpleContent> 36 <xs:simpleContent>
37 <xs:extension base="xs:string"> 37 <xs:extension base="xs:string">
38 <xs:attribute name="name" type="xs:string" use="required"/> 38 <xs:attribute name="name" type="xs:string" use="required"/>
39 <xs:attribute name="limit" type="xs:positiveInteger" use="required"/> 39 <xs:attribute name="limit" type="xs:integer" default="0"/>
40 <xs:attribute name="isPercentage" type="xs:boolean" default="false"/>
40 <xs:anyAttribute/> 41 <xs:anyAttribute/>
41 </xs:extension> 42 </xs:extension>
42 </xs:simpleContent> 43 </xs:simpleContent>
43 </xs:complexType> 44 </xs:complexType>
44 </xs:element> 45 </xs:element>