sysmodellibs/sysmodelgen/resources/xsd/Levels.xsd
changeset 6 5b32dc297d05
parent 3 e7e0ae78773e
child 7 3c36c452f013
equal deleted inserted replaced
3:e7e0ae78773e 6:5b32dc297d05
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
       
     3   <xs:element name="levels">
       
     4     <xs:complexType>
       
     5       <xs:choice maxOccurs="unbounded" minOccurs="0">
       
     6         <xs:element name="block" maxOccurs="unbounded" minOccurs="0">
       
     7           <xs:complexType>
       
     8           	<xs:simpleContent>
       
     9           		<xs:extension base="xs:string">
       
    10           			<xs:attribute type="xs:string" name="name"
       
    11           				use="required" />
       
    12           			<xs:attribute type="xs:NMTOKEN" name="level"
       
    13           				use="optional" />
       
    14           			<xs:attribute type="xs:NMTOKENS" name="levels"
       
    15           				use="optional" />
       
    16           			<xs:attribute type="xs:int" name="span"
       
    17           				use="optional" />
       
    18           		</xs:extension>
       
    19           	</xs:simpleContent>
       
    20           </xs:complexType>
       
    21         </xs:element>
       
    22         <xs:element name="collection" maxOccurs="unbounded" minOccurs="0">
       
    23           <xs:complexType>
       
    24             <xs:simpleContent>
       
    25               <xs:extension base="xs:string">
       
    26                 <xs:attribute type="xs:string" name="name" use="required"/>
       
    27                 <xs:attribute type="xs:NMTOKEN" name="level" use="required"/>
       
    28               </xs:extension>
       
    29             </xs:simpleContent>
       
    30           </xs:complexType>
       
    31         </xs:element>
       
    32         <xs:element name="layer" maxOccurs="unbounded" minOccurs="0">
       
    33           <xs:complexType>
       
    34             <xs:simpleContent>
       
    35               <xs:extension base="xs:string">
       
    36                 <xs:attribute type="xs:string" name="name" use="required"/>
       
    37                 <xs:attribute type="xs:NMTOKENS" name="levels" use="optional"/>
       
    38                 <xs:attribute type="xs:int" name="span" use="optional"/>
       
    39               </xs:extension>
       
    40             </xs:simpleContent>
       
    41           </xs:complexType>
       
    42         </xs:element>
       
    43       </xs:choice>
       
    44     </xs:complexType>
       
    45   </xs:element>
       
    46 </xs:schema>