Share via


XPath Boolean Functions (Windows Embedded CE 6.0)

1/6/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