xs:field

Element Information

Model

Children: xs:annotation

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xs:ID optional
xpath xs:null required
xpathDefaultNamespace xs:xpathDefaultNamespace optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Complex Type xs:keybase
Element xs:keyref

Source

<xs:element name="field" id="field">
  <xs:annotation>
    <xs:documentation source="../structures/structures.html#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:simpleType>
        </xs:attribute>
        <xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample