Tamino XML Server Version 9.7
 —  Tamino XML Schema Reference Guide  —

xs:field

Purpose This element defines a component of the identity constraint (xs:key, xs:keyref, xs:unique).
Parent element xs:key, xs:keyref or xs:unique
Child elements xs:annotation
Attributes id, xpath
Attributes
Name Type Description
id xs:ID Assigns an identifier to the schema node.
xpath  

A list of one or more XPath expressions that select the possible nodes that contribute to the values of the identity constraint.

For details of the syntax, see section 3.11.6 Constraints on Identity-constraint Definition Schema Components of the W3C documentation XML Schema Part 1: Structures.

For an example, see section 5.1 Specifying Uniqueness of the W3C documentation XML Schema Part 0: Primer.

Top of page