Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Automation Scripting User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

copy-of

date_range 13-Jan-21

Syntax

content_copy zoom_out_map
copy-of expression; 

Description

Copy the specified node including namespace nodes, child nodes, and attributes of that node. The argument is an XPath expression that specifies which nodes to copy.

Attributes

expression

XPath expression that specifies which nodes to copy.

SLAX Example

content_copy zoom_out_map
copy-of configuration/protocols/bgp;

XSLT Equivalent

content_copy zoom_out_map
<xsl:copy-of select="configuration/protocols/bgp"/>

Release Information

Statement introduced in version 1.0 of the SLAX language.

footer-navigation