Basic XQuery expression.
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).
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 |
See the pages of the various expressions for examples.
The following construct(s) refer to this construct: