array:append

Returns an array containing all the members of a supplied array, plus one additional member at the end.

append($array as array(*), $appendage as item()*) ➔ array(*)

Arguments

 

$array

array(*)

The input array

 

$appendage

item()*

The new member

Result

array(*)

Namespace

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

Links to W3C specifications

XPath 3.1 Functions and Operators

Saxon availability

Available in XPath 3.1, XSLT 3.0, and XQuery 3.1. Available in all Saxon editions. Implemented since Saxon 9.7.

Notes on the Saxon implementation

Available since Saxon 9.7.