Definition Type: ComplexType
Name: topLevelElement
Namespace: http://www.w3.org/2001/XMLSchema
Type: xsd:element
Containing Schema: XMLSchema.xsd
Abstract False
Documentation:
Collapse XSD Schema Diagram:
Drilldown into name Drilldown into maxOccurs Drilldown into minOccurs Drilldown into form Drilldown into ref Drilldown into keyref Drilldown into key Drilldown into unique Drilldown into complexType Drilldown into simpleType Drilldown into annotation Drilldown into form Drilldown into block Drilldown into final Drilldown into abstract Drilldown into nillable Drilldown into fixed Drilldown into default Drilldown into maxOccurs Drilldown into minOccurs Drilldown into substitutionGroup Drilldown into type Drilldown into ref Drilldown into name Drilldown into keyref Drilldown into key Drilldown into unique Drilldown into complexType Drilldown into simpleType Drilldown into id Drilldown into annotation Drilldown into openAttrs Drilldown into annotated Drilldown into elementXSD Diagram of topLevelElement
Collapse XSD Schema Code:
<xs:complexType name="topLevelElement">
    <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:anyAttribute namespace="##other" processContents="lax" />
        </xs:restriction>
    </xs:complexContent>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
annotation xsd:annotation 0 (1)
simpleType xsd:simpleType (1) (1)
complexType xsd:complexType (1) (1)
unique xsd:unique (1) (1)
key xsd:key (1) (1)
keyref xsd:keyref (1) (1)
annotation xsd:annotation 0 (1)
simpleType xsd:simpleType (1) (1)
complexType xsd:complexType (1) (1)
<xs:group> xsd:identityConstraint 0 unbounded
<xs:group> xsd:identityConstraint 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
id xsd:id (Optional)
type xsd:type (Optional)
substitutionGroup xsd:substitutionGroup (Optional)
default xsd:default (Optional)
fixed xsd:fixed (Optional)
nillable xsd:nillable false Optional
abstract xsd:abstract false Optional
final xsd:final (Optional)
block xsd:block (Optional)
ref xsd:ref Prohibited
form xsd:form Prohibited
minOccurs xsd:minOccurs Prohibited
maxOccurs xsd:maxOccurs Prohibited
name xsd:name Required
<anyAttribute> ##other
<anyAttribute> ##other
Collapse Derivation Tree:
Collapse References:
xsd:element
Collapse Comments:
blog comments powered by Disqus