Navigation
Supported Platforms
Related Documentation
- ACX, EX, J, M, MX, SRX, T Series
- copy-of
- ACX, EX, M, MX, PTX, SRX, T Series
- xsl:copy-of
copy-node
Syntax
copy-node;
copy-node { /* body */ }
Release Information
Statement introduced in version 1.1 of the SLAX language, which is supported in Junos OS Release 12.2 and later releases.
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>
Related Documentation
- ACX, EX, J, M, MX, SRX, T Series
- copy-of
- ACX, EX, M, MX, PTX, SRX, T Series
- xsl:copy-of
Published: 2013-03-05
Supported Platforms
Related Documentation
- ACX, EX, J, M, MX, SRX, T Series
- copy-of
- ACX, EX, M, MX, PTX, SRX, T Series
- xsl:copy-of