2 <xsd:schema xmlns:
xsd=
"http://www.w3.org/2001/XMLSchema" elementFormDefault=
"qualified">
3 <xsd:element name=
"CEGUIConfig" type=
"CEGUIConfigType"/>
5 <xsd:complexType name=
"CEGUIConfigType">
7 <xsd:choice minOccurs=
"0" maxOccurs=
"unbounded">
8 <xsd:element name=
"Logging" type=
"loggingType" />
9 <xsd:element name=
"AutoLoad" type=
"autoLoadType" />
10 <xsd:element name=
"ResourceDirectory" type=
"resourceDirectoryType" />
11 <xsd:element name=
"DefaultResourceGroup" type=
"defaultResourceGroupType" />
12 <xsd:element name=
"Scripting" type=
"scriptingType" />
13 <xsd:element name=
"DefaultXMLParser" type=
"defaultObjectType" />
14 <xsd:element name=
"DefaultImageCodec" type=
"defaultObjectType" />
15 <xsd:element name=
"DefaultFont" type=
"defaultObjectType" />
16 <xsd:element name=
"DefaultMouseCursor" type=
"defaultMouseCursorType" />
17 <xsd:element name=
"DefaultTooltip" type=
"defaultObjectType" />
18 <xsd:element name=
"DefaultGUISheet" type=
"defaultObjectType" />
23 <xsd:complexType name=
"loggingType">
25 <xsd:extension base=
"xsd:string">
26 <xsd:attribute name=
"filename" type=
"xsd:string" use=
"optional" default=
"CEGUI.log" />
27 <xsd:attribute name=
"level" type=
"logLevel" use=
"optional" default=
"Standard" />
32 <xsd:complexType name=
"autoLoadType">
34 <xsd:extension base=
"xsd:string">
35 <xsd:attribute name=
"type" type=
"resourceType" use=
"required" />
36 <xsd:attribute name=
"group" type=
"xsd:string" use=
"optional" default=
"" />
37 <xsd:attribute name=
"pattern" type=
"xsd:string" use=
"optional" default=
"*" />
42 <xsd:complexType name=
"resourceDirectoryType">
44 <xsd:extension base=
"xsd:string">
45 <xsd:attribute name=
"group" type=
"xsd:string" use=
"required" />
46 <xsd:attribute name=
"directory" type=
"xsd:string" use=
"required" />
51 <xsd:complexType name=
"defaultResourceGroupType">
53 <xsd:extension base=
"xsd:string">
54 <xsd:attribute name=
"type" type=
"resourceType" use=
"optional" default=
"Default" />
55 <xsd:attribute name=
"group" type=
"xsd:string" use=
"required" />
60 <xsd:complexType name=
"scriptingType">
62 <xsd:extension base=
"xsd:string">
63 <xsd:attribute name=
"initScript" type=
"xsd:string" use=
"optional" default=
"" />
64 <xsd:attribute name=
"terminateScript" type=
"xsd:string" use=
"optional" default=
"" />
69 <xsd:complexType name=
"defaultObjectType">
71 <xsd:extension base=
"xsd:string">
72 <xsd:attribute name=
"name" type=
"xsd:string" use=
"required" />
77 <xsd:complexType name=
"defaultMouseCursorType">
79 <xsd:extension base=
"xsd:string">
80 <xsd:attribute name=
"imageset" type=
"xsd:string" use=
"required" />
81 <xsd:attribute name=
"image" type=
"xsd:string" use=
"required" />
86 <xsd:simpleType name=
"logLevel">
87 <xsd:restriction base=
"xsd:string">
88 <xsd:enumeration value=
"Errors"/>
89 <xsd:enumeration value=
"Standard"/>
90 <xsd:enumeration value=
"Informative"/>
91 <xsd:enumeration value=
"Insane"/>
95 <xsd:simpleType name=
"resourceType">
96 <xsd:restriction base=
"xsd:string">
97 <xsd:enumeration value=
"Imageset"/>
98 <xsd:enumeration value=
"Font"/>
99 <xsd:enumeration value=
"Scheme"/>
100 <xsd:enumeration value=
"LookNFeel"/>
101 <xsd:enumeration value=
"Layout"/>
102 <xsd:enumeration value=
"Script"/>
103 <xsd:enumeration value=
"XMLSchema"/>
104 <xsd:enumeration value=
"Default"/>