Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

Axis

Direction of movement on a path.


Syntax

Axis

graphics/Axis.png

Top of page

Description

An Axis determines the direction of movement, when a step on a path is taken, beginning at the context node. In the reverse direction, you can address the following axis:

AxisParent parent::
AxisAncestor ancestor::

In the forward direction, you can address the following axes:

AxisChild child::
AxisDescendant descendant::
AxisAttribute attribute::
AxisSelf self::
AxisDescendantOrSelf descendant-or-self::

For all axes except the ancestor and descendant axes there is an abbreviated syntax. See AbbreviatedStep for details.

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

This construct is also related to the following construct(s):

AbbreviatedStep NodeTest StepExpr StepQualifiers

Top of page