Purpose | Defines the selector for an identity constraint
(xs:key ,
xs:keyref ,
xs:unique ).
|
Parent element | xs:key , xs:keyref or
xs:unique |
Child elements | xs:annotation |
Attributes | id ,
xpath |
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 element nodes, each of which contributes a single tuple value to the current identity constraint. For details of the syntax, see in section 3.11.6 Schema Component Constraint: Selector Value OK 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. |