SLAX supports a general variety of relational expressions:
In addition, the not() function is available to flip the current Boolean result to the opposite Boolean value: true to false or false to true.
For more information, see Node-Sets and Relational Expressions.