SAXONICA

Saxon Documentation
Full Contents
About Saxon
Changes in this Release
Conditions of Use
Using XSLT 2.0
Using XQuery
Handling Source Documents
XML Schema Processing
The XPath API
Standards Conformance
Extensibility
Saxon Extensions
| Introduction
| EXSLT Extensions
| Extension attributes (XSLT only)
| Additional serialization parameters
» | Extension functions
| Extension instructions
Sample Saxon Applications
The Saxon SQL Extension
XSLT Elements
XPath 2.0 Expression Syntax
Function Library
XSLT Patterns

# saxon:call()

call($function as jt:net.sf.saxon.expr.UserFunction, $arg1 as item()*, ...) ==> item()*

This function is available only in Saxon-SA

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.

Next