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

Take Me Home (9781455552078) by Garlock, Dorothy
Chaos Bites by Lori Handeland
The Judge by Jonathan Yanez
The Bawdy Basket by Edward Marston
Back to Yesterday by Pamela Sparkman
Nervous by Zane