Definition Type: ComplexType
Name: element
Namespace: http://www.w3.org/2001/XMLSchema
Type: xsd: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 XForms)
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 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)
<xs:group> xsd:identityConstraint 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
id xsd:id (Optional)
name xsd:name (Optional)
ref xsd:ref (Optional)
type xsd:type (Optional)
substitutionGroup xsd:substitutionGroup (Optional)
minOccurs xsd:minOccurs 1 Optional
maxOccurs xsd:maxOccurs 1 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)
form xsd:form (Optional)
<anyAttribute>
<anyAttribute> Allowed namespace: '##other'
Collapse Derivation Tree:
Collapse References:
xsd:localElement, xsd:topLevelElement