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

namedGroup

Annotation
Documentation

Should derive this from realGroup, but too complicated for now

 

Schema

<xs:complexType name="namedGroup" mixed="false">
     <xs:sequence>
          <xs:element ref="xs:annotation" minOccurs="0"/>
          <xs:choice minOccurs="1" maxOccurs="1">
               <xs:element name="all">
                    <xs:complexType mixed="false">
                         <xs:complexContent>
                              <xs:restriction base="xs:all">
                                   <xs:group ref="xs:allModel"/>
                                   <xs:attribute name="minOccurs" use="prohibited"/>
                                   <xs:attribute name="maxOccurs" use="prohibited"/>
                              </xs:restriction>
                         </xs:complexContent>
                    </xs:complexType>
               </xs:element>
               <xs:element name="choice" type="xs:simpleExplicitGroup"/>
               <xs:element name="sequence" type="xs:simpleExplicitGroup"/>
          </xs:choice>
     </xs:sequence>
     <xs:attribute name="name" use="required" type="xs:NCName"/>
     <xs:attribute name="ref" use="prohibited"/>
     <xs:attribute name="minOccurs" use="prohibited"/>
     <xs:attribute name="maxOccurs" use="prohibited"/>
</xs:complexType>