copy-node
Syntax
copy-node;
copy-node {
/* body */
}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
copy-node {
<that> "one";
}XSLT Equivalent
<xsl:copy>
<that>
<xsl:value-of select="one"/>
</that>
</xsl:copy>Release Information
Statement introduced in version 1.1 of the SLAX language, which is supported in Junos OS Release 12.2 and later releases.