Compartir a través de


XPath Boolean Functions

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The XML Path Language (XPath) syntax supports Boolean functions that return strings or numbers, and can be used with comparison operators in filter patterns.

The following table shows the Boolean functions implemented by XPath.

Function Description

boolean Function

Converts the argument to a Boolean.

false Function

Returns False.

lang Function

Returns True if the xml:lang attribute of the context node is the same as the argument string.

not Function

Returns True if the argument is false, and a false otherwise.

true Function

Returns True.

See Also

Reference

XPath Functions