Definition Type: Element
Name: schema
Namespace: http://www.w3.org/2001/XMLSchema
Type: xs:openAttrs
Containing Schema: XMLSchema.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into annotation in schema xmlschema_xsd Drilldown into notation in schema xmlschema_xsd Drilldown into attribute in schema xmlschema_xsd Drilldown into element in schema xmlschema_xsd Drilldown into attributeGroup in schema xmlschema_xsd Drilldown into group in schema xmlschema_xsd Drilldown into complexType in schema xmlschema_xsd Drilldown into simpleType in schema xmlschema_xsd Drilldown into redefinable in schema xmlschema_xsd Drilldown into schemaTop in schema xmlschema_xsd Drilldown into annotation in schema xmlschema_xsd Drilldown into redefine in schema xmlschema_xsd Drilldown into import in schema xmlschema_xsd Drilldown into include in schema xmlschema_xsd Drilldown into openAttrs in schema xmlschema_xsd Drilldown into lang in schema xml_xsd Drilldown into id in schema xmlschema_xsd Drilldown into elementFormDefault in schema xmlschema_xsd Drilldown into attributeFormDefault in schema xmlschema_xsd Drilldown into blockDefault in schema xmlschema_xsd Drilldown into finalDefault in schema xmlschema_xsd Drilldown into version in schema xmlschema_xsd Drilldown into targetNamespace in schema xmlschema_xsdXSD Diagram of schema in schema xmlschema_xsd (W3C XML Schema Definition Language)
Collapse XSD Schema Code:
<xs:element name="schema" id="schema">
    <xs:annotation>
        <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-schema" />
    </xs:annotation>
    <xs:complexType>
        <xs:complexContent>
            <xs:extension base="xs:openAttrs">
                <xs:sequence>
                    <xs:choice minOccurs="0" maxOccurs="unbounded">
                        <xs:element ref="xs:include" />
                        <xs:element ref="xs:import" />
                        <xs:element ref="xs:redefine" />
                        <xs:element ref="xs:annotation" />
                    </xs:choice>
                    <xs:sequence minOccurs="0" maxOccurs="unbounded">
                        <xs:group ref="xs:schemaTop" />
                        <xs:element ref="xs:annotation" minOccurs="0" maxOccurs="unbounded" />
                    </xs:sequence>
                </xs:sequence>
                <xs:attribute name="targetNamespace" type="xs:anyURI" />
                <xs:attribute name="version" type="xs:token" />
                <xs:attribute name="finalDefault" type="xs:fullDerivationSet" use="optional" default="" />
                <xs:attribute name="blockDefault" type="xs:blockSet" use="optional" default="" />
                <xs:attribute name="attributeFormDefault" type="xs:formChoice" use="optional" default="unqualified" />
                <xs:attribute name="elementFormDefault" type="xs:formChoice" use="optional" default="unqualified" />
                <xs:attribute name="id" type="xs:ID" />
                <xs:attribute ref="xml:lang" />
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:key name="element">
        <xs:selector xpath="xs:element" />
        <xs:field xpath="@name" />
    </xs:key>
    <xs:key name="attribute">
        <xs:selector xpath="xs:attribute" />
        <xs:field xpath="@name" />
    </xs:key>
    <xs:key name="type">
        <xs:selector xpath="xs:complexType|xs:simpleType" />
        <xs:field xpath="@name" />
    </xs:key>
    <xs:key name="group">
        <xs:selector xpath="xs:group" />
        <xs:field xpath="@name" />
    </xs:key>
    <xs:key name="attributeGroup">
        <xs:selector xpath="xs:attributeGroup" />
        <xs:field xpath="@name" />
    </xs:key>
    <xs:key name="notation">
        <xs:selector xpath="xs:notation" />
        <xs:field xpath="@name" />
    </xs:key>
    <xs:key name="identityConstraint">
        <xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref" />
        <xs:field xpath="@name" />
    </xs:key>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
include xs:include (1) (1)
import xs:import (1) (1)
redefine xs:redefine (1) (1)
annotation xs:annotation (1) (1)
simpleType xs:simpleType (1) (1)
complexType xs:complexType (1) (1)
group xs:group (1) (1)
attributeGroup xs:attributeGroup (1) (1)
element xs:element (1) (1)
attribute xs:attribute (1) (1)
notation xs:notation (1) (1)
annotation xs:annotation 0 unbounded
<xs:group> xs:schemaTop (1) (1)
<xs:group> xs:redefinable (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
targetNamespace xs:targetNamespace (Optional)
version xs:version (Optional)
finalDefault xs:finalDefault Optional
blockDefault xs:blockDefault Optional
attributeFormDefault xs:attributeFormDefault unqualified Optional
elementFormDefault xs:elementFormDefault unqualified Optional
id xs:id (Optional)
lang nsA:lang (Optional)
<anyAttribute>
<anyAttribute> Allowed namespace: '##other'
Collapse Derivation Tree: