This functions allows to perform AND operations. The result of a logical operation AND is true only if all the operands are true.

1 eval.and

<eval.and>
    <value1 /> !
    <value2 /> !
</eval.and>
Example
Copy
<xsql-script name='sample'>
   <body>
       <!-- Shows 0 (false) -->
       <println><eval.and><true /><false /></eval.and></println>

       <!-- Shows1 (true) -->
       <println><eval.and><true /><true /></eval.and></println>

       <!-- Shows 0 (false) -->
       <set name='a'>5</set>
       <println>
           <eval.and>
               <lt><a/>6</lt>
               <lt><a/>4</lt>
           </eval.and>
       </println>
    </body>
</xsql-script>

Returns:

Copy
false
true
false