XSLT xsl:copy Element
Complete XSLT Element Reference Manual
Definition and Usage
xsl:copy element creates a copy of the current node.
**Note:** The namespace nodes of the current node are copied automatically, but the child nodes and attributes of the current node are not copied automatically!
Syntax
property
| property | Value | Description |
|---|---|---|
| use-attribute-sets | name-list | Optional. If the node is an element, this attribute is a list of attribute sets to apply to the output node, separated by spaces. |
Example 1
Copy the message node to the output document:
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Complete XSLT Element Reference Manual