<?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="call"/>
      <!--
           Generated at 2010-10-29T18:20:48.427+01:00--><title>Saxonica: XSLT and XQuery Processing: saxon:call()</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: saxon:call()"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>saxon:call()</h1>
      <p><b>saxon:call($function as jt:net.sf.saxon.expr.UserFunctionCall, $arg1 as item()*, ...) ==&gt; item()*</b></p>
      <p><i>This function is available only in Saxon-EE</i></p>
      <p>This function allows a first-class function created using <code>saxon:function()</code> to be invoked. The
function (that is, the value returned by the call on <code>saxon:function()</code>) is passed
as the first argument, and the parameters to be supplied to that function are passed as the
second and subsequent arguments. The value returned by the target function is returned.</p>
      <p>A call to <code>saxon:call</code> is typically contained within a <i>higher-order function</i>,
which accepts a parameter indicating the function to be called.</p>
      <p>For examples of how this function is used, see 
<a class="bodylink" href="../../extensions/functions/function.xml">saxon:function</a>.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="columnnumber.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>