Copies the current node from the source to the output. This tag creates a node in the output with the same name, namespace, and type as the current node. Attributes and children are not copied automatically.
<xsl:copy>
The following example performs an identity transformation on the entire document. Each node in the source is copied to the output.
Click here to see the XML structure of this example.
Click here to see the XSL formatted display of this example.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template> <xsl:copy> <xsl:apply-templates select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> </xsl:stylesheet>