Read XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition Online
Authors: Michael Kay
instead.
Examples
Expression | Description |
@category | Abbreviation for attribute::category . |
@xml:space | Abbreviation for attribute::xml:space . |
@* | Abbreviation for attribute::* (selects all attributes of the context node). |
@xsl:* | Abbreviation for attribute::xsl:* (selects all attributes in the namespace bound to the prefix xsl). |
The
..
Abbreviation
The construct
..
appearing as an abbreviated step is short for
parent::node()
. As such, it selects the parent of the context node. If the context node has no parent (that is, if it is the root of a tree), then it selects an empty sequence.