true

The boolean value true

Description

The fn:true function, which takes no arguments, is useful for constructing the boolean value true. XQueryXPath 2.0 uses the false() and true() functions instead of keywords false and true.

Examples

XPath

Results

true()

true

See Also