comparison schemas/system.xsd @ 3:2f52da2e7605

Directory and project updates. VS2008 does not like app.config so I had to remove references of that from the solution from other projects.
author Tsudico
date Wed, 08 Dec 2010 18:44:10 -0600
parents
children
comparison
equal deleted inserted replaced
2:51e8cd3be231 3:2f52da2e7605
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"
3 targetNamespace="http://ibboard.co.uk/warfoundry/system" xmlns="http://ibboard.co.uk/warfoundry/system" xmlns:sys="http://ibboard.co.uk/warfoundry/system" elementFormDefault="qualified">
4 <xs:element name="system">
5 <xs:complexType>
6 <xs:sequence>
7 <xs:element name="categories" type="cats:categoriestype">
8 <xs:key name="catsKey">
9 <xs:selector xpath="cats:cat"/>
10 <xs:field xpath="@id"/>
11 </xs:key>
12 </xs:element>
13 <xs:element name="sysStatsList">
14 <xs:complexType>
15 <xs:sequence>
16 <xs:element name="sysStats" maxOccurs="unbounded">
17 <xs:complexType>
18 <xs:sequence>
19 <xs:element name="sysStat" maxOccurs="unbounded">
20 <xs:complexType>
21 <xs:sequence>
22 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
23 </xs:sequence>
24 <xs:attribute name="name" type="xs:string" use="required"/>
25 <xs:anyAttribute processContents="lax"/>
26 </xs:complexType>
27 </xs:element>
28 </xs:sequence>
29 <xs:attribute name="id" type="xs:string" />
30 <xs:anyAttribute processContents="lax"/>
31 </xs:complexType>
32 </xs:element>
33 </xs:sequence>
34 <xs:attribute name="defaultStats" type="xs:string" use="required" />
35 <xs:anyAttribute processContents="lax"/>
36 </xs:complexType>
37 </xs:element>
38 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
39 </xs:sequence>
40 <xs:attribute name="id" type="xs:string" />
41 <xs:attribute name="name" type="xs:string" use="required"/>
42 <xs:attribute name="warn" type="xs:boolean" default="false"/>
43 <xs:attribute name="allowAllies" type="xs:boolean" default="true"/>
44 <xs:anyAttribute processContents="lax"/>
45 </xs:complexType>
46 <xs:keyref name="defaultStatsRef" refer="statsKey">
47 <xs:selector xpath="sys:sysStatsList"/>
48 <xs:field xpath="@defaultStats"/>
49 </xs:keyref>
50 <xs:key name="statsKey">
51 <xs:selector xpath="sys:sysStatsList/sys:sysStats"/>
52 <xs:field xpath="@id"/>
53 </xs:key>
54 </xs:element>
55 </xs:schema>