XML Schema field Element |
XML Schema Tutorial
- XML Schema Tutorial
- XML Schemas Introduction
- Why Use XML Schema?
- How to Use XML Schema
- XML schema Elements
- XSD Simple Elements
- XML Schema Attributes
- XML Schema Restrictions / Facets
- XML Schema Complex Elements
- XML Schema Complex Empty Elements
- XML Schema Complex Types β Elements Only
- XML Schema Complex Elements β Text Only
- XML Schema Complex Types β Mixed Content
- XML Schema Indicators
- XML Schema any Element
- XML Schema anyAttribute Element
- XML Schema Element Substitution
- XML Schema Examples
- XML Schema String Data Types
- XML Schema Date/Time Data Types
<field id=ID xpath=XPath expression _any attributes_ > (annotation?) </field>Attribute Description id Optional. Specifies a unique ID for this element. xpath Required. Identifies a single element or attribute whose content or value is used to constrain. If this expression identifies an element, then it must be of simple type. xml:lang Optional. Specifies the language in which the content is written. Example 1
The following example shows a field element that defines the "userID" attribute as the field used for identity constraint:
<xs:field xpath="@userID"/>
YouTip