Advertisement
Motenten

spellcastIncludeRules.xsd

Sep 22nd, 2012
875
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.01 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.  
  10.   <!-- This .xsd can handle includes with rules, but not vars, groups and sets. -->
  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 minOccurs="0" maxOccurs="unbounded">
  25.       <xs:group ref="rule" />
  26.     </xs:choice>
  27.     <xs:attribute name="name" type="xs:string" use="required"/>
  28.   </xs:complexType>
  29. </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement