Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

copy-node

 

Syntax

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

XSLT Equivalent

Related Documentation