ZVON > References > XML Schema 2001 Reference
index | >> Schema << | DTD

field

Go to standard
Annotation
Documentation

 
Source http://www.w3.org/TR/xmlschema-1/#element-field

In: schema
Schema

<xs:element name="field" id="field">
     <xs:complexType mixed="false">
          <xs:complexContent>
               <xs:extension base="xs:annotated">
                    <xs:attribute name="xpath" use="required">
                         <xs:simpleType>
                              <xs:restriction base="xs:token">
                                   <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>


Occurs in Schema Tutorial examples:
Uniqueness
Key
Uniqueness - comparison of numbers
Unique and nillable
Keyref