array:filter
Returns an array containing those members of the $array
for which
$function
returns true.
filter($array as array(*), $function as function(item()*) as xs:boolean) ➔ array(*)
Arguments | |||
| $array | array(*) | The input array |
| $function | function(item()*) as xs:boolean | The function used to filter the input array |
Result | array(*) |
Namespace
http://www.w3.org/2005/xpath-functions/array
Links to W3C specifications
XPath 3.1 Functions and Operators
Notes on the Saxon implementation
Available since Saxon 9.7.