Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

RelativePathExpr

Select nodes on the relative path.


Syntax

RelativePathExpr

graphics/RelativePathExpr.png

StepExpr AxisStep NoAxisStep

Top of page

Description

A RelativePathExpr is a path expression consisting of a step expression that can be followed by one or more steps with or without axis. Starting from the context node, / separates location steps, while // is the abbreviated syntax for /descendant-or-self::node()/. If followed by an AxisStep, you can specify an abbreviated or unabbreviated step. Otherwise, you can specify a node test plus optional predicate expression.

Top of page

Examples

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page