Advertisement
Motenten

spellcast.xsd

Sep 22nd, 2012
920
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.14 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3.    xmlns:xi="http://www.w3.org/2001/XInclude"
  4.    targetNamespace="http://www.windower.net/spellcast/"
  5.    xmlns="http://www.windower.net/spellcast/"
  6.    elementFormDefault="qualified">
  7.  
  8.   <xs:include schemaLocation="baseSpellcastRules.xsd" />
  9.   <xs:include schemaLocation="baseSpellcastVars.xsd" />
  10.  
  11.   <!-- Base design -->
  12.   <xs:element name="spellcast">
  13.     <xs:complexType>
  14.       <xs:all>
  15.         <xs:element name="config" type="configType" minOccurs="0" />
  16.         <xs:element name="variables" type="variablesType" minOccurs="0"/>
  17.         <xs:element name="sets" type="setsType" minOccurs="0"/>
  18.         <xs:element name="rules" type="rulesType" minOccurs="0"/>
  19.       </xs:all>
  20.     </xs:complexType>
  21.   </xs:element>
  22.  
  23.   <!-- Config element design -->
  24.   <xs:complexType name="configType">
  25.     <xs:attribute name="RequireVersion">
  26.       <xs:simpleType>
  27.         <xs:restriction base="xs:decimal">
  28.           <xs:minInclusive value="2.0"/>
  29.         </xs:restriction>
  30.       </xs:simpleType>
  31.     </xs:attribute>
  32.     <xs:attribute name="Debug" type="xs:boolean" default="false"/>
  33.     <xs:attribute name="ShowSpellInfo" type="xs:boolean" default="false"/>
  34.     <xs:attribute name="ShowGearSwaps" type="xs:boolean" default="false"/>
  35.     <xs:attribute name="DisableMa" type="xs:boolean" default="false"/>
  36.     <xs:attribute name="DisableJA" type="xs:boolean" default="false"/>
  37.     <xs:attribute name="DisableWS" type="xs:boolean" default="false"/>
  38.     <xs:attribute name="DisableNin" type="xs:boolean" default="false"/>
  39.     <xs:attribute name="DisableSo" type="xs:boolean" default="false"/>
  40.     <xs:attribute name="DisablePet" type="xs:boolean" default="false"/>
  41.     <xs:attribute name="HelmSet" type="xs:string"/>
  42.     <xs:attribute name="FishingSet" type="xs:string"/>
  43.   </xs:complexType>
  44.  
  45.   <!-- Variables element design -->
  46.   <xs:complexType name="variablesType">
  47.     <xs:choice minOccurs="0" maxOccurs="unbounded">
  48.       <xs:group ref="varEntity" />
  49.     </xs:choice>
  50.     <xs:attribute name="clear" type="xs:boolean" default="false"/>
  51.   </xs:complexType>
  52. </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement