Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

AxisStep

Create and possibly filter a sequence of nodes.


Syntax

AxisStep

graphics/AxisStep.png

Axis NodeTest StepQualifiers AbbreviatedStep

Top of page

Description

An AxisStep is a step expression that creates a sequence of nodes. Beginning at the context node, it takes a step in forward or reverse direction of the given axis.

The unabbreviated form requires a node test that checks whether the node is of a certain kind or whether it passes a name test. You can specify a predicate expression by using StepQualifiers to filter the current sequence of nodes.

The abbreviated form allows you to use shorthand notations for the axes self, parent and attribute.

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page