fn:apply

Makes a dynamic call on a function with an argument list supplied in the form of an array.

apply($function as function(*), $array as array(*)) ➔ item()*

Arguments

 

$function

function(*)

The function to be applied

 

$array

array(*)

Array whose members are to be used as arguments to the function

Result

item()*

Namespace

http://www.w3.org/2005/xpath-functions

Links to W3C specifications

XPath 3.1 Functions and Operators

Notes on the Saxon implementation

Available since Saxon 9.7. Available in Saxon-HE since 10.