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

topLevelElement


Schema

<xs:complexType name="topLevelElement" mixed="false">
     <xs:complexContent>
          <xs:restriction base="xs:element">
               <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="ref" use="prohibited"/>
               <xs:attribute name="form" use="prohibited"/>
               <xs:attribute name="minOccurs" use="prohibited"/>
               <xs:attribute name="maxOccurs" use="prohibited"/>
               <xs:attribute name="name" use="required" type="xs:NCName"/>
          </xs:restriction>
     </xs:complexContent>
</xs:complexType>