Makes a deep copy of a node sequence (typically streamed nodes, to allow navigation within the subtree rooted at each node). The zero-argument form applies the function to the context item (which must be a node).
copy-of() ➔ node()
There are no arguments
copy-of($source as node()*) ➔ node()*
The node sequence to be copied
Links to W3C specifications
Notes on the Saxon implementation
Implemented since Saxon 9.5 for use in XSLT 3.0. Since Saxon 9.6 the function is also made available in XQuery.