XML Schema selector-element

Definitie en gebruik

De selector-element specificeert de XML-padtaal (XPath)-expressie, die een groep elementen (unique, key en keyref-elementen) identificeert die een beperking kiezen.

Element Information

Occurrence Once
Parent Element key, keyref, unique
Content annotation

Syntax

<selector
id=ID
xpath=a subset of XPath expression
any attributes
>
(annotation?)
</selector>
Attributes Description
id Optional. Specify the unique ID of the element.
xpath Required. Specify the XPath expression relative to the declared element. This expression identifies the child elements that apply the identified constraint (the declared element).
any attributes Optional. Specify any other attributes with non-schema namespace.