Prvek výběru schématu XML
❮ Vyplňte odkaz na schéma XML
Definice a použití
Element selektoru určuje výraz XPath, který vybírá sadu prvků pro omezení identity (unikátní prvky, prvky klíče a keyref).
Informace o prvku
- Nadřazené prvky: klíč, klíčová reference, jedinečný
Syntax
<selector
id=ID
xpath=a subset of XPath expression
any attributes
>
(annotation?)
</selector>
(Znak ? deklaruje, že prvek se může v prvku selektoru vyskytovat nula nebo jednou)
Attribute | Description |
---|---|
id | Optional. Specifies a unique ID for the element |
xpath | Required. Specifies an XPath expression, relative to the element being declared, that identifies the child elements to which the identity constraint applies |
any attributes | Optional. Specifies any other attributes with non-schema namespace |
❮ Vyplňte odkaz na schéma XML