Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:xi="http://www.w3.org/2001/XInclude"
- targetNamespace="http://www.windower.net/spellcast/"
- xmlns="http://www.windower.net/spellcast/"
- elementFormDefault="qualified">
- <xs:import namespace="http://www.w3.org/2001/XInclude"
- schemaLocation="xinclude.xsd"/>
- <xs:include schemaLocation="baseSpellcastCommon.xsd" />
- <!-- This .xsd can handle includes with vars, groups and sets, but not rules. -->
- <!-- Variables element design -->
- <xs:group name="varEntity">
- <xs:choice>
- <xs:choice>
- <xs:element name="var" type="varType" />
- <xs:element name="Var" type="varType" />
- </xs:choice>
- <xs:element ref="xi:include" />
- </xs:choice>
- </xs:group>
- <!-- Var element design -->
- <xs:complexType name="varType">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="nooverwrite" type="xs:boolean" default="false"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <!-- Sets element design -->
- <xs:complexType name="setsType">
- <xs:sequence>
- <xs:choice minOccurs="1" maxOccurs="unbounded">
- <xs:element name="group" type="groupType" />
- <xs:element name="Group" type="groupType" />
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- <!-- Group element design -->
- <xs:complexType name="groupType">
- <xs:sequence minOccurs="0" maxOccurs="unbounded">
- <xs:choice>
- <xs:element name="set" type="setType" />
- <xs:element name="Set" type="setType" />
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="default" type="xs:boolean" default="false"/>
- <xs:attribute name="inherit" type="xs:string"/>
- </xs:complexType>
- <!-- Set element design -->
- <xs:complexType name="setType">
- <xs:group ref="slotList" />
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="BaseSet" type="xs:string"/>
- <xs:attribute name="BaseGroup" type="xs:string"/>
- </xs:complexType>
- </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement