Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

UnaryExpr

Negate numerical value of an expression.


Syntax

UnaryExpr

graphics/UnaryExpr.png

Expr

Top of page

Description

A UnaryExpr consists of the unary operator and an expression. The expression is atomized so that it is either a single atomic value or an empty sequence. If it is an empty sequence, the result of the operation is also an empty sequence.

The unary operator has higher precedence than binary operators.

Top of page

Examples

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page