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:include schemaLocation="baseSpellcastRules.xsd" />
- <xs:include schemaLocation="baseSpellcastVars.xsd" />
- <!-- Base design -->
- <xs:element name="spellcast">
- <xs:complexType>
- <xs:all>
- <xs:element name="config" type="configType" minOccurs="0" />
- <xs:element name="variables" type="variablesType" minOccurs="0"/>
- <xs:element name="sets" type="setsType" minOccurs="0"/>
- <xs:element name="rules" type="rulesType" minOccurs="0"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <!-- Config element design -->
- <xs:complexType name="configType">
- <xs:attribute name="RequireVersion">
- <xs:simpleType>
- <xs:restriction base="xs:decimal">
- <xs:minInclusive value="2.0"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="Debug" type="xs:boolean" default="false"/>
- <xs:attribute name="ShowSpellInfo" type="xs:boolean" default="false"/>
- <xs:attribute name="ShowGearSwaps" type="xs:boolean" default="false"/>
- <xs:attribute name="DisableMa" type="xs:boolean" default="false"/>
- <xs:attribute name="DisableJA" type="xs:boolean" default="false"/>
- <xs:attribute name="DisableWS" type="xs:boolean" default="false"/>
- <xs:attribute name="DisableNin" type="xs:boolean" default="false"/>
- <xs:attribute name="DisableSo" type="xs:boolean" default="false"/>
- <xs:attribute name="DisablePet" type="xs:boolean" default="false"/>
- <xs:attribute name="HelmSet" type="xs:string"/>
- <xs:attribute name="FishingSet" type="xs:string"/>
- </xs:complexType>
- <!-- Variables element design -->
- <xs:complexType name="variablesType">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="varEntity" />
- </xs:choice>
- <xs:attribute name="clear" type="xs:boolean" default="false"/>
- </xs:complexType>
- </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement