saxon:call($function as jt:net.sf.saxon.expr.UserFunctionCall, $arg1 as item()*, ...) ==> item()*
This function is available only in Saxon-EE
This function allows a first-class function created using saxon:function()
to be invoked. The
function (that is, the value returned by the call on saxon:function()
) 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.
A call to saxon:call
is typically contained within a higher-order function,
which accepts a parameter indicating the function to be called.
For examples of how this function is used, see saxon:function.