13.6. The selector Element
The value of the xpath attribute of a selector element specifies a target node set for any type of identity constraint. See any listing in this chapter for an example of the selector element.
13.6.1. The Attributes of a selector Element
In addition to the ubiquitous id attribute, the selector element must specify an xpath, which selects a set of nodes. Table 13.8 itemizes the attributes of a selector element.
Attribute | Description |
---|---|
id | The value of an id attribute uniquely identifies an element within the set of schema documents that comprise an XML schema. |
xpath | The value of the xpath attribute determines the target node set of a corresponding XML instance. |
13.6.1.1. ...
Get XML Schema Complete Reference, The now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.