array:flatten

Replaces any array appearing in a supplied sequence with the members of the array, recursively.

flatten($input as item()*) ➔ item()*

Arguments

 

$input

item()*

The input sequence

Result

item()*

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.