Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

AndExpr

Check if both of two expressions are logically true.


Syntax

AndExpr

graphics/AndExpr.png

Expr Expr

Top of page

Description

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

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

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page