Visit Mozilla.org

XSLT:copy-of

From MDC

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

Contents

The <xsl:copy-of> element makes a deep copy (including descendant nodes) of whatever the select attribute specifies to the output document.

[edit] Syntax

<xsl:copy-of select=EXPRESSION /> 

[edit] Required Attributes

select
Uses an XPath expression that specifies what is to be copied.

[edit] Optional Attributes

None.

[edit] Type

Instruction, appears within a template.

[edit] Defined

XSLT, section 11.3.

[edit] Gecko support

Supported.