This function allows to accomplish logical negations.

1 eval.not

<eval.not>
    <value /> !
</eval.not>
Example
Copy
<xsql-script name='sample'>
    <body>
        <!-- not false: 1 (true) -->
        <println>not false: <eval.not><false /></eval.not></println>

        <!-- not hello: 1 (true) -->
        <println>not hello: <eval.not><string>hello</string></eval.not></println>

        <!-- not '0.0': 1 (true) -->
        <println>not '0.0': <eval.not><string>0.0</string></eval.not></println>

        <!-- not 4: 1 (true) -->
        <println>not 4: <eval.not>4</eval.not></println>
    </body>
</xsql-script>