Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

TreatExpr

Modify static type of operand.


Syntax

TreatExpr

graphics/TreatExpr.png

Expr SequenceType

Top of page

Description

A TreatExpr modifies the static type of its operand and takes an expression and a sequence type as arguments. It does not change the dynamic type; rather, it ensures that an expression has an expected dynamic type at evaluation time.

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page