fn:not function

The fn:not function returns false if the effective boolean value of an item is true. fn:not returns true if the effective boolean value of an item is false.

Syntax

Read syntax diagramSkip visual syntax diagramfn:not( sequence-expression)
sequence-expression
Any sequence that contains items of any type, or the empty sequence.

Returned value

The returned value is an xs:boolean value. If the effective boolean value of sequence-expression is false, this function returns true. If the effective boolean value of sequence-expression is true, this function returns false.

Example

The following function returns true:
fn:not("a"="b")
The following function returns false:
fn:not("false")