khanat-opennel-code/code/nel/samples/3d/cegui/datafiles/imagesets/Imageset.xsd
2010-09-11 19:26:22 +02:00

28 lines
1.4 KiB
XML

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xsd:element name="Imageset" type="ImagesetType"/>
<xsd:complexType name="ImagesetType">
<xsd:sequence>
<xsd:element name="Image" type="ImageType" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="Imagefile" type="xsd:string" use="required"/>
<xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" />
<xsd:attribute name="Name" type="xsd:string" use="required"/>
<xsd:attribute name="NativeHorzRes" type="xsd:nonNegativeInteger" use="optional" default="640" />
<xsd:attribute name="NativeVertRes" type="xsd:nonNegativeInteger" use="optional" default="480" />
<xsd:attribute name="AutoScaled" type="xsd:boolean" use="optional" default="false" />
</xsd:complexType>
<xsd:complexType name="ImageType">
<xsd:attribute name="Name" type="xsd:string" use="required"/>
<xsd:attribute name="XPos" type="xsd:nonNegativeInteger" use="required"/>
<xsd:attribute name="YPos" type="xsd:nonNegativeInteger" use="required"/>
<xsd:attribute name="Width" type="xsd:nonNegativeInteger" use="required"/>
<xsd:attribute name="Height" type="xsd:nonNegativeInteger" use="required"/>
<xsd:attribute name="XOffset" type="xsd:integer" use="optional" default="0"/>
<xsd:attribute name="YOffset" type="xsd:integer" use="optional" default="0"/>
</xsd:complexType>
</xsd:schema>