Advertisement
Motenten

spellcastIncludeVars.xsd

Sep 22nd, 2012
765
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.36 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="baseSpellcastVars.xsd" />
  9.  
  10.   <!-- This .xsd can handle includes with vars, groups and sets, but not rules. -->
  11.  
  12.   <!-- Base design -->
  13.   <xs:element name="includes">
  14.     <xs:complexType>
  15.       <xs:choice minOccurs="0" maxOccurs="unbounded">
  16.         <xs:element name="include" type="includeBlock"/>
  17.         <xs:element name="Include" type="includeBlock"/>
  18.       </xs:choice>
  19.     </xs:complexType>
  20.   </xs:element>
  21.   <xs:element name="Includes" substitutionGroup="includes" />
  22.  
  23.   <xs:complexType name="includeBlock">
  24.     <xs:choice>
  25.       <xs:group ref="varEntity" minOccurs="0" maxOccurs="unbounded" />
  26.       <xs:choice minOccurs="0" maxOccurs="unbounded">
  27.         <xs:element name="group" type="groupType" />
  28.         <xs:element name="Group" type="groupType" />
  29.       </xs:choice>
  30.       <xs:choice minOccurs="0" maxOccurs="unbounded">
  31.         <xs:element name="set" type="setType" />
  32.         <xs:element name="Set" type="setType" />
  33.       </xs:choice>
  34.     </xs:choice>
  35.     <xs:attribute name="name" type="xs:string" use="required"/>
  36.   </xs:complexType>
  37. </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement