ZVON > References > XML Schema 2001 Reference
index | >> Schema << | DTD

allModel


Schema

<xs:group name="allModel">
     <xs:sequence>
          <xs:element ref="xs:annotation" minOccurs="0"/>
          <xs:element name="element" minOccurs="0" maxOccurs="unbounded">
               <xs:complexType mixed="false">
                    <xs:complexContent>
                         <xs:restriction base="xs:localElement">
                              <xs:sequence>
                                   <xs:element ref="xs:annotation" minOccurs="0"/>
                                   <xs:choice minOccurs="0">
                                        <xs:element name="simpleType" type="xs:localSimpleType"/>
                                        <xs:element name="complexType" type="xs:localComplexType"/>
                                   </xs:choice>
                                   <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
                              </xs:sequence>
                              <xs:attribute name="minOccurs" use="optional" default="1">
                                   <xs:simpleType>
                                        <xs:restriction base="xs:nonNegativeInteger">
                                             <xs:enumeration value="0"/>
                                             <xs:enumeration value="1"/>
                                        </xs:restriction>
                                   </xs:simpleType>
                              </xs:attribute>
                              <xs:attribute name="maxOccurs" use="optional" default="1">
                                   <xs:simpleType>
                                        <xs:restriction base="xs:allNNI">
                                             <xs:enumeration value="0"/>
                                             <xs:enumeration value="1"/>
                                        </xs:restriction>
                                   </xs:simpleType>
                              </xs:attribute>
                         </xs:restriction>
                    </xs:complexContent>
               </xs:complexType>
          </xs:element>
     </xs:sequence>
</xs:group>