XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition (412 page)

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
8.96Mb size Format: txt, pdf, ePub

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.

Other books

Running Free by K Webster
Betrayal by Julian Stockwin
The Theoretical Foot by M. F. K. Fisher
Letting You Know by Nora Flite
DoubleDown V by John R. Little and Mark Allan Gunnells