Definition Type: Element
Name: field
Namespace: http://www.w3.org/2001/XMLSchema
Type: xs:annotated
Containing Schema: XMLSchema.xsd
Abstract
Collapse XSD Schema Diagram:
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 xpath in schema xmlschema_xsdXSD Diagram of field in schema xmlschema_xsd (W3C XML Schema Definition Language)
Collapse XSD Schema Code:
<xs:element name="field" id="field">
    <xs:annotation>
        <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-field" />
    </xs:annotation>
    <xs:complexType>
        <xs:complexContent>
            <xs:extension base="xs:annotated">
                <xs:attribute name="xpath" use="required">
                    <xs:simpleType>
                        <xs:annotation>
                            <xs:documentation>A subset of XPath expressions for use
in fields</xs:documentation>
                            <xs:documentation>A utility type, not for public
use</xs:documentation>
                        </xs:annotation>
                        <xs:restriction base="xs:token">
                            <xs:annotation>
                                <xs:documentation>The following pattern is intended to allow XPath
                           expressions per the same EBNF as for selector,
                           with the following change:
          Path    ::=    ('.//')? ( Step '/' )* ( Step | '@' NameTest ) 
         </xs:documentation>
                            </xs:annotation>
                            <xs:pattern value="(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*))))(\|(\.//)?((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)/)*((((child::)?((\i\c*:)?(\i\c*|\*)))|\.)|((attribute::|@)((\i\c*:)?(\i\c*|\*)))))*">
                            </xs:pattern>
                        </xs:restriction>
                    </xs:simpleType>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
annotation xs:annotation 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
id xs:id (Optional)
xpath xs:xpath Required
<anyAttribute>
<anyAttribute> Allowed namespace: '##other'
Collapse Derivation Tree: