W3cubDocs

/XSLT & XPath

false()

The false function returns boolean false.

Syntax

false()

Returns

Boolean false.

Notes

This function is useful part of a comparison:

<xsl:if test="boolean((1 &gt; 2) = false())">
 The expression evaluates as true
</xsl:if>

Defined

XPath 1.0 4.3

Gecko support

Supported.

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XPath/Functions/false