Definition Type: ComplexType
Name: element
Namespace: http://www.w3.org/2001/XMLSchema
Type: xs:annotated
Containing Schema: XMLSchema.xsd
Abstract True
Documentation:
The element element can be used either at the top level to define an element-type binding globally, or within a content model to either reference a globally-defined element or type or declare an element-type binding locally. The ref form is not allowed at the top level.
Collapse XSD Schema Diagram:
Drilldown into keyref in schema xmlschema_xsd Drilldown into key in schema xmlschema_xsd Drilldown into unique in schema xmlschema_xsd Drilldown into identityConstraint in schema xmlschema_xsd Drilldown into complexType in schema xmlschema_xsd Drilldown into simpleType in schema xmlschema_xsd Drilldown into annotation in schema xmlschema_xsd Drilldown into openAttrs in schema xmlschema_xsd Drilldown into id in schema xmlschema_xsd Drilldown into annotated in schema xmlschema_xsd Drilldown into form in schema xmlschema_xsd Drilldown into block in schema xmlschema_xsd Drilldown into final in schema xmlschema_xsd Drilldown into abstract in schema xmlschema_xsd Drilldown into nillable in schema xmlschema_xsd Drilldown into fixed in schema xmlschema_xsd Drilldown into default in schema xmlschema_xsd Drilldown into maxOccurs in schema xmlschema_xsd Drilldown into minOccurs in schema xmlschema_xsd Drilldown into occurs in schema xmlschema_xsd Drilldown into substitutionGroup in schema xmlschema_xsd Drilldown into type in schema xmlschema_xsd Drilldown into ref in schema xmlschema_xsd Drilldown into name in schema xmlschema_xsd Drilldown into defRef in schema xmlschema_xsdXSD Diagram of element in schema xmlschema_xsd (W3C XML Schema Definition Language)
Collapse XSD Schema Code:
<xs:complexType name="element" abstract="true">
    <xs:annotation>
        <xs:documentation>
   The element element can be used either
   at the top level to define an element-type binding globally,
   or within a content model to either reference a globally-defined
   element or type or declare an element-type binding locally.
   The ref form is not allowed at the top level.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
        <xs:extension base="xs:annotated">
            <xs:sequence>
                <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:attributeGroup ref="xs:defRef" />
            <xs:attribute name="type" type="xs:QName" />
            <xs:attribute name="substitutionGroup" type="xs:QName" />
            <xs:attributeGroup ref="xs:occurs" />
            <xs:attribute name="default" type="xs:string" />
            <xs:attribute name="fixed" type="xs:string" />
            <xs:attribute name="nillable" type="xs:boolean" use="optional" default="false" />
            <xs:attribute name="abstract" type="xs:boolean" use="optional" default="false" />
            <xs:attribute name="final" type="xs:derivationSet" />
            <xs:attribute name="block" type="xs:blockSet" />
            <xs:attribute name="form" type="xs:formChoice" />
        </xs:extension>
    </xs:complexContent>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
annotation xs:annotation 0 (1)
simpleType xs:simpleType (1) (1)
complexType xs:complexType (1) (1)
unique xs:unique (1) (1)
key xs:key (1) (1)
keyref xs:keyref (1) (1)
<xs:group> xs:identityConstraint 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
id xs:id (Optional)
name xs:name (Optional)
ref xs:ref (Optional)
type xs:type (Optional)
substitutionGroup xs:substitutionGroup (Optional)
minOccurs xs:minOccurs 1 Optional
maxOccurs xs:maxOccurs 1 Optional
default xs:default (Optional)
fixed xs:fixed (Optional)
nillable xs:nillable false Optional
abstract xs:abstract false Optional
final xs:final (Optional)
block xs:block (Optional)
form xs:form (Optional)
<anyAttribute>
<anyAttribute> Allowed namespace: '##other'
Collapse Derivation Tree:
Collapse References:
xs:localElement, xs:topLevelElement