Returns an array containing all the members of the supplied array, except for the members at the specified positions.
remove($array as array(*), $positions as xs:integer*) ➔ array(*)
The input array
The positions of the members to be removed
Links to W3C specifications
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.
Since 220.127.116.11, the behaviour changed (following a W3C Specification change) to allow multiple items to be removed in a single call.