Skip to content

XSLT <xsl:copy-of>

How to use the XSLT <xsl:copy-of> element to duplicate nodes, including their namespaces, attributes, and child elements, in your transformations.

XSLT <xsl:copy-of>

The <xsl:copy-of> element creates a copy of the current node.

Syntax

<xsl:copy-of select="expression"/>

Attributes

Attribute Value Required/Optional Description
select expression Required Specifies what to be copied
Navigation