Name

not( ) — returns the logical negation of the argument

Synopsis

Defined in: XPath 1.0
Parameters: boolean b (required)
Return type: boolean

This example returns false if the Location Path a/b happens to select one or more nodes; otherwise, it returns true:

not(a/b)

Get XForms Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.