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
2.29Mb 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

Shadowed By Wings by Janine Cross
Dead Mann Walking by Stefan Petrucha
Mated to the Wolf by Bonnie Vanak
Death's Privilege by Darryl Donaghue