XSLT <xsl:copy-of>
XSLT <xsl:copy-of>
The <xsl:copy-of>
element creates a copy of the current node.
note
Namespace nodes, child nodes, and attributes of the current node are automatically copied as well!
note
This element can be used to insert multiple copies of the same node into different places in the output.
Syntax
<xsl:copy-of select="expression"/>
Attributes
Attribute | Value | Required/Optional | Description |
---|---|---|---|
select | expression | Required | Specifies what to be copied |