false

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

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–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XPath/Functions/false