This function is string applicable. Allows to evaluate in an arithmetic, logical or conditional way.
 

1 eval.eval

<eval.eval>
    <value /> !
</eval.eval>
Example

Evaluate an arithmetic expression.

Copy
<xsql-script name='sample'>
    <body>
        <set name='a'>3</set>
        <set name='str'><string><add><a/>1</add></string></set>

        <println><eval.eval><str/></eval.eval></println>
    </body>
</xsql-script>

Returns:

Copy
4
Example

Evaluate a logical expression.

Copy
<xsql-script name='sample'>
   <body>
       <set name='a'>3</set>
       <set name='str'><string>
              <between>
               <number>3.4</number>
               <number>8.9</number>
               <number>90</number>
           </between>
       </string>
       </set>

       <println><eval.eval><str/></eval.eval></println>
   </body>

</xsql-script>

Returns:

Copy
false