Element selektora schematu XML
❮ Pełne odniesienie do schematu XML
Definicja i użycie
Element selektora określa wyrażenie XPath, które wybiera zestaw elementów do ograniczenia tożsamości (elementy Unique, Key i Keyref).
Informacje o elemencie
- Elementy nadrzędne: klucz, ref. klucza, unikat
Składnia
<selector
id=ID
xpath=a subset of XPath expression
any attributes
>
(annotation?)
</selector>
(Znak ? deklaruje, że element może wystąpić zero lub jeden raz wewnątrz elementu selektora)
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 |
❮ Pełne odniesienie do schematu XML