Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

FLWORExpr

Iterate over sequences of items.


Syntax

FLWORExpr

graphics/FLWORExpr.png

ForClause LetClause WhereClause OrderByClause Expr

Top of page

Description

A FLWOR expression iterates over a sequence of items and binds variables that can be used in the scope of the current expression. If the item sequence is empty, the result of the FLWOR expression is an empty sequence. A FLWOR expression consists of one or more for and let clauses in any combination, followed by an optional where clause, an optional order by clause and a return clause. Briefly, these clauses are interpreted as follows:

Top of page

Examples

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

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

ForClause LetClause OrderByClause WhereClause

Top of page