Mercurial > repos > IBBoard.WarFoundry.API
diff 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 |
line wrap: on
line diff
--- a/dtds/system.xsd Sun May 10 19:13:10 2009 +0000 +++ b/dtds/system.xsd Sun May 10 19:18:10 2009 +0000 @@ -2,33 +2,33 @@ <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" targetNamespace="http://ibboard.co.uk/warfoundry/system" xmlns="http://ibboard.co.uk/warfoundry/system" elementFormDefault="qualified"> <xs:element name="system"> - <xs:complexType> - <xs:all> - <xs:element name="categories" type="cats:categoriestype" minOccurs="1"/> - <xs:element name="sysStatsList" minOccurs="1"> - <xs:complexType> - <xs:sequence> - <xs:element name="sysStats" minOccurs="1" maxOccurs="unbounded"> - <xs:complexType> - <xs:sequence> - <xs:element name="sysStat" minOccurs="1" maxOccurs="unbounded"> - <xs:complexType> - <xs:attribute name="name" type="xs:string" use="required"/> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" /> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="defaultStats" type="xs:IDREF" /> - </xs:complexType> - </xs:element> - </xs:all> - <xs:attribute name="id" type="xs:ID" /> - <xs:attribute name="name" type="xs:string" use="required"/> - <xs:attribute name="warn" type="xs:boolean" default="false"/> - <xs:attribute name="allowAllies" type="xs:boolean" default="true"/> - </xs:complexType> + <xs:complexType> + <xs:all> + <xs:element name="categories" type="cats:categoriestype" minOccurs="1"/> + <xs:element name="sysStatsList" minOccurs="1"> + <xs:complexType> + <xs:sequence> + <xs:element name="sysStats" minOccurs="1" maxOccurs="unbounded"> + <xs:complexType> + <xs:sequence> + <xs:element name="sysStat" minOccurs="1" maxOccurs="unbounded"> + <xs:complexType> + <xs:attribute name="name" type="xs:string" use="required"/> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="id" type="xs:ID" /> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="defaultStats" type="xs:IDREF" /> + </xs:complexType> + </xs:element> + </xs:all> + <xs:attribute name="id" type="xs:ID" /> + <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="warn" type="xs:boolean" default="false"/> + <xs:attribute name="allowAllies" type="xs:boolean" default="true"/> + </xs:complexType> </xs:element> </xs:schema> \ No newline at end of file