Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

Expr

Basic XQuery expression.


Syntax

Expr

graphics/Expr.png

SortExpr OrExpr AndExpr FLWORExpr IfExpr CompExpr AdditiveExpr MultiplicativeExpr RangeExpr UnionExpr IntersectExceptExpr Constructor PathExpr TreatExpr UnaryExpr

Top of page

Description

An Expr represents a basic XQuery expression and provides several kinds of expressions. Each kind of expression is defined in terms of other expressions (compositionality).

Precedence Order

Operands with a higher precedence number bind more tightly than those with a lower precedence number. Operands listed at the same level are evaluated from left to right.

Precedence Number Syntax Constructs
1 (lowest) SortExpr
2 OrExpr
3 AndExpr
4 CompExpr, FLWORExpr, IfExpr
5 RangeExpr
6 AdditiveExpr
7 MultiplicativeExpr
8 UnionExpr
9 IntersectExceptExpr
10 TreatExpr
11 UnaryExpr
12 (highest) Constructor, PathExpr

Top of page

Example

See the pages of the various expressions for examples.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page