XSLT <xsl:copy> Element
Definition and Usage
The <xsl:copy> element creates a copy of the current node.
Note: The Namespace nodes of the current node are automatically copied, but the child nodes and attributes of the current node are not automatically copied!
Syntax
Attributes
| Attribute | Value | Description |
|---|---|---|
| use-attribute-sets | name-list | Optional. If the node is an element, this attribute is a list of attribute sets to be applied to the output node, separated by spaces. |
Example 1
Copy the message node to the output document: