Tamino XML Server Version 9.7
 —  X-Query Reference Guide  —

SequenceExpr

Select nodes based on position.


Syntax

SequenceExpr

graphics/SequenceExpr.jpg

Top of page

Description

A SequenceExpr consists either of a single ProximityExpr or of two or more proximity expressions that are separated by the operators before or after. With these operators you can select nodes based on sibling positioning.

The left operand of the before or after operator must be a set of sibling nodes and the right-hand operand must be an element of this node-set (otherwise an empty node-set will be returned as a result).

Top of page

Compatibility

There is no SequenceExpr in XPath. You can use the operators before and after to simulate the XPath way of selecting nodes along one of the axes preceding-sibling or following-sibling, see the second and third example.

Top of page

Examples

Top of page

Related Expressions

ProximityExpr

Top of page