Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 306

saxon-manual-9.4.0.9-2.mga7.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="extensions" page="functions" subpage="eval"/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: saxon:eval()</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: saxon:eval()"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>saxon:eval()</h1>
      <p><b>saxon:eval($stored-expression as jt:net.sf.saxon.functions.Evaluate-PreparedExpression [, $paramN as item()*...]) ==&gt; item()*</b></p>
      <p>This function returns the result of evaluating the supplied stored expression.
A stored expression may be obtained as the result of calling
the <a class="bodylink" href="../../extensions/functions/expression.xml">saxon:expression</a> function.</p>
      <p>The stored expression is evaluated in the current dynamic context, that is, the context node is the current
node, and the context position and context size are the same as the result of calling position() or last()
respectively.</p>
      <p>The second and subsequent arguments to <code>saxon:eval</code> supply values for the variables
<code>$p1</code>, <code>$p2</code>, etc within the stored expression. For details see
<a class="bodylink" href="../../extensions/functions/expression.xml">saxon:expression</a>.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="evaluate.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>