copy-node

Syntax

Description

Copy the current node including namespace nodes to the result tree, but do not copy any attribute or child nodes. The optional body is a block of statements that emit additional nodes inside that copy.

SLAX Example

XSLT Equivalent

Release Information

Statement introduced in SLAX version 1.1.