Version 8.2.2
 —  X-Query Reference Guide  —

AbbreviatedStep

Select the context node or its parent node.


Syntax

AbbreviatedStep

. | ..

Top of page

Description

You can use an AbbreviatedStep to indicate either the context node by using the symbol "." or the parent node of the context node by using the symbol "..". The symbol "." is short for self::node(), and ".." is short for parent::node().

Top of page

Compatibility

It corresponds to the expression AbbreviatedStep defined in XPath, Section 2.5, Rule 12.

Top of page

Examples

Top of page

Related Expression

Step

Top of page