Visit Mozilla.org

XPath:Functions:not

From MDC

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

Contents


The not function evaluates a boolean expression and returns the opposite value.

[edit] Syntax

not( expression )

[edit] Arguments

expression
The expression is evaluated exactly as if it were passed as an argument to the boolean() function.

[edit] Returns

True for an expression that evaluates to false; false for an expression that evaluates to true.

[edit] Notes

  • This function should behave similarly to the boolean() function except that it returns the opposite value.

[edit] Defined

XPath 1.0 4.3

[edit] Gecko support

Supported.