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

Saxon availability

Available in XPath 3.1, XSLT 3.0, and XQuery 3.1. From Saxon 10, available in all editions. Implemented in Saxon-PE and Saxon-EE since Saxon 9.7.

Notes on the Saxon implementation

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