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

UnaryExpr

Change the sign of a number.


Syntax

UnaryExpr

- SetExpr

Top of page

Description

The UnaryExpr is a unary operator which changes the sign of a Number. It takes as argument a SetExpr which may also be a node set. In that case, it tries to convert the value of the respective node of the last document in the result set into a numeric value and changes the sign of that number

Top of page

Compatibility

It corresponds to the expression UnaryExpr defined in XPath, Section 2.4, Rule 3.

Top of page

Examples

Top of page

Related Expressions

AdditiveExpr

Top of page