comparison dtds/system.xsd @ 74:76d274df9f28

Closes #80: Collapse XSD definitions * Replace spaces with tabs for indenting
author IBBoard <dev@ibboard.co.uk>
date Sun, 10 May 2009 19:18:10 +0000
parents e7a6f460be57
children 7b98e71b8511
comparison
equal deleted inserted replaced
73:5eb1bc0a6d96 74:76d274df9f28
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: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" minOccurs="1"> 8 <xs:element name="sysStatsList" minOccurs="1">
9 <xs:complexType> 9 <xs:complexType>
10 <xs:sequence> 10 <xs:sequence>
11 <xs:element name="sysStats" minOccurs="1" maxOccurs="unbounded"> 11 <xs:element name="sysStats" minOccurs="1" maxOccurs="unbounded">
12 <xs:complexType> 12 <xs:complexType>
13 <xs:sequence> 13 <xs:sequence>
14 <xs:element name="sysStat" minOccurs="1" maxOccurs="unbounded"> 14 <xs:element name="sysStat" minOccurs="1" maxOccurs="unbounded">
15 <xs:complexType> 15 <xs:complexType>
16 <xs:attribute name="name" type="xs:string" use="required"/> 16 <xs:attribute name="name" type="xs:string" use="required"/>
17 </xs:complexType> 17 </xs:complexType>
18 </xs:element> 18 </xs:element>
19 </xs:sequence> 19 </xs:sequence>
20 <xs:attribute name="id" type="xs:ID" /> 20 <xs:attribute name="id" type="xs:ID" />
21 </xs:complexType> 21 </xs:complexType>
22 </xs:element> 22 </xs:element>
23 </xs:sequence> 23 </xs:sequence>
24 <xs:attribute name="defaultStats" type="xs:IDREF" /> 24 <xs:attribute name="defaultStats" type="xs:IDREF" />
25 </xs:complexType> 25 </xs:complexType>
26 </xs:element> 26 </xs:element>
27 </xs:all> 27 </xs:all>
28 <xs:attribute name="id" type="xs:ID" /> 28 <xs:attribute name="id" type="xs:ID" />
29 <xs:attribute name="name" type="xs:string" use="required"/> 29 <xs:attribute name="name" type="xs:string" use="required"/>
30 <xs:attribute name="warn" type="xs:boolean" default="false"/> 30 <xs:attribute name="warn" type="xs:boolean" default="false"/>
31 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/> 31 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/>
32 </xs:complexType> 32 </xs:complexType>
33 </xs:element> 33 </xs:element>
34 </xs:schema> 34 </xs:schema>