Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Boolean Functions

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

boolean

Converts the argument to a Boolean.

false

Returns false.

lang

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

not

Returns true if the argument is false, otherwise, false.

true

Returns true.

Show:
© 2015 Microsoft