W3cubDocs

/XSLT & XPath

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

Gecko support

Supported.

© 2005–2022 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