Definition Type: ComplexType
Name: attribute
Namespace: http://www.w3.org/2001/XMLSchema
Type: xsd:annotated
Containing Schema: XMLSchema.xsd
Abstract
Collapse XSD Schema Diagram:
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 fixed in schema xmlschema_xsd Drilldown into default in schema xmlschema_xsd Drilldown into use 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 attribute in schema xmlschema_xsd (W3C XForms)
Collapse XSD Schema Code:
<xs:complexType name="attribute">
    <xs:complexContent>
        <xs:extension base="xs:annotated">
            <xs:sequence>
                <xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType" />
            </xs:sequence>
            <xs:attributeGroup ref="xs:defRef" />
            <xs:attribute name="type" type="xs:QName" />
            <xs:attribute name="use" use="optional" default="optional">
                <xs:simpleType>
                    <xs:restriction base="xs:NMTOKEN">
                        <xs:enumeration value="prohibited" />
                        <xs:enumeration value="optional" />
                        <xs:enumeration value="required" />
                    </xs:restriction>
                </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="default" type="xs:string" />
            <xs:attribute name="fixed" type="xs:string" />
            <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 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
id xsd:id (Optional)
name xsd:name (Optional)
ref xsd:ref (Optional)
type xsd:type (Optional)
use xsd:use optional Optional
default xsd:default (Optional)
fixed xsd:fixed (Optional)
form xsd:form (Optional)
<anyAttribute>
<anyAttribute> Allowed namespace: '##other'
Collapse Derivation Tree:
Collapse References:
xsd:attributexsd:topLevelAttribute,