Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

OrExpr

Check if one or both of two expression are logically true.


Syntax

OrExpr

graphics/OrExpr.png

Expr Expr

Top of page

Description

An OrExpr is a logical expression that is evaluated by determining the effective boolean value (ebv) of each of its operands. The value of the OrExpr is then determined as follows:

or expression ebv(op2) = true ebv(op2) = false error in ebv(op2)
ebv(op1) = true true true true or error
ebv(op1) = false true false error
error in ebv(op1) true or error error error

Top of page

Example

Top of page

Related Syntax Construct

The following construct(s) refer to this construct:

This construct is also related to the following construct(s):

AndExpr

Top of page