Boolean methods allow you to apply boolean logic to your data. To display a complete list of available Boolean methods, click Boolean and then click Settings.
Table 4 Boolean Methods
Description |
---|
The boolean method converts the value of object1 to Boolean, and returns true or false. |
The exists method checks whether a value is present in object1. If a value is present, it returns Boolean true; otherwise, it returns Boolean false. |
The false method always returns Boolean false. |
The lang method returns Boolean true if the value of string1 matches the language of the xsl:lang element; otherwise, it returns Boolean false. |
The not method returns Boolean true if boolean1 is false, and returns Boolean false if boolean1 is true. Note: Boolean parameters cannot accept values with capital letters. For example, “True” and “TRUE” are not valid Boolean values, but “true” is. |
The true method always returns Boolean true. |