att.scoping
provides attributes for selecting particular elements within a document.
Attributes
- @targetpoints at one or more sets of zero or more elements each.
- Status
- Optional
- Datatype
- 1–∞ occurrences of teidata.pointer separated by whitespace
Elizabeth went to <persName xml:id="ESSEX">Essex</persName> <certainty target="#ESSEX" locus="name" degree="0.6"/>- @matchsupplies an XPath selection pattern using the syntax defined in XSLT3 which identifies a set of nodes, selected within the context identified by the @target attribute if this is supplied, or within the context of the parent element if it is not.
- Status
- Optional
- Datatype
- teidata.xpath
<gap reason="cancelled"> <certainty match="@reason" locus="value" cert="low"/> </gap>
Classes and content
- Used by
- Members
Note
The semantics of this element apply to the nodeset identified by the value of the @target attribute, possibly modified by the value of the @match attribute. If more than one identifier is given, the implication is that all elements (or nodesets) are intended. The @match attribute may also be used as a means of identifying groups of elements.
If @target and @match are present, @target selects an element and the XPath expression in @match is evaluated in the context of that element. If neither attribute is present, the expression applies to its parent element. If only @target is given, the expression refers to the selected element or nodeset. If only @match is given, the XPath expression is evaluated in the context of the parent element of the bearing element.
Note that the value of the @target attribute may include an XPointer expression including an XPath expression (see TEI XPointer Schemes).