Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XSLT Element

XSLT xsl:copy-of Element


XSLT Element Reference Manual Complete XSLT Element Reference Manual


Definition and Usage

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

**Note:** The namespace nodes, child nodes, and attributes of the current node are all copied automatically!

**Tip:** This element can be used to insert multiple copies of the same node at different positions in the output.


Syntax

property

property Value Description
select expression Required. Specifies the content to be copied.

Example 1

xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

Element Description



XSLT Element Reference Manual Complete XSLT Element Reference Manual