XML Schema selector ສະມາຊິກ

ການກໍານົດ ແລະ ການນໍາໃຊ້

selector ແມ່ນປະກອບຕົວຢ່າງ XML ກົດລະບຽບວິທະຍາສາດ (XPath) ສະແດງອອກຄຳສັ່ງ ສະແດງອອກຄຳສັ່ງເພື່ອຄຳສັ່ງການເລືອກສະມາຊິກຂອງຄວາມກັງວົງ (unique, key ແລະ keyref ສະມາຊິກ).

Element Information

Occurrence Times 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 identification constraint (declared element).
any attributes Optional. Specify any other attributes with non-schema namespace.