Version 9.5 SP1
 —  X-Query Reference Guide  —

RelativeLocationPath

Select nodes on a relative location path starting at the context node.


Syntax

RelativeLocationPath

Step ( ( / | // ) Step )*

Top of page

Description

A RelativeLocationPath consists of a sequence of one or more location steps (Step) separated by one of the path operators / or //. The operator / selects the child nodes of the context node, while // selects all descendant nodes of the context node, since it is an abbreviation for the full XPath expression descendant-or-self::node().

Top of page

Compatibility

It corresponds to the expression RelativeLocationPath defined in XPath, Section 2.4, Rule 3.

Top of page

Examples

Top of page

Related Expressions

Step

Top of page