comparison dtds/system.xsd @ 22:28e99aa0053f

Re #34 - Migrate WarFoundry files to using Schemas * Rename WarFoundry-cats.xml to .xsd * Use "all" tag in System instead of "sequence" * Complete Race schema
author IBBoard <dev@ibboard.co.uk>
date Mon, 09 Mar 2009 20:45:45 +0000
parents 1e18de815472
children 4308424b4145
comparison
equal deleted inserted replaced
21:1e18de815472 22:28e99aa0053f
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:core="http://ibboard.co.uk/warfoundry/core" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" 2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:core="http://ibboard.co.uk/warfoundry/core" xmlns:cats="http://ibboard.co.uk/warfoundry/cats"
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:sequence> 6 <xs:all>
7 <xs:element name="categories" type="cats:categoriestype"/> 7 <xs:element name="categories" type="cats:categoriestype" minOccurs="1"/>
8 <xs:element name="sysStatsList" type="statslisttype"/> 8 <xs:element name="sysStatsList" type="statslisttype" minOccurs="1"/>
9 </xs:sequence> 9 </xs:all>
10 <xs:attribute name="id" type="xs:ID" /> 10 <xs:attribute name="id" type="xs:ID" />
11 <xs:attribute name="name" type="xs:string" use="required"/> 11 <xs:attribute name="name" type="xs:string" use="required"/>
12 <xs:attribute name="warn" type="xs:boolean" default="false"/> 12 <xs:attribute name="warn" type="xs:boolean" default="false"/>
13 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/> 13 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/>
14 </xs:complexType> 14 </xs:complexType>