Elemen pemilih Skema XML
Referensi Skema XML Lengkap
Definisi dan Penggunaan
Elemen pemilih menentukan ekspresi XPath yang memilih sekumpulan elemen untuk batasan identitas (elemen unik, kunci, dan keyref).
Informasi Elemen
- Elemen induk: kunci, keyref, unik
Sintaksis
<selector
id=ID
xpath=a subset of XPath expression
any attributes
>
(annotation?)
</selector>
(Tanda ? menyatakan bahwa elemen dapat muncul nol atau satu kali di dalam elemen pemilih)
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 |
Referensi Skema XML Lengkap