[xsl] Theory: Identity Transforms

Subject: [xsl] Theory: Identity Transforms
From: "Rick Quatro" <frameexpert@xxxxxxxxxxxx>
Date: Wed, 1 Feb 2006 12:31:36 -0500
Hello All,

I am trying to get a handle on some basic XSLT concepts. I am looking at identity transforms and see these two basic templates:

<xsl:template match="node()|@*">
   <xsl:apply-templates select="node()|@*"/>

<xsl:template match="node()|@*" mode="copy">
   <xsl:copy-of select="@*"/>
   <xsl:apply-templates mode="copy"/>

I don't understand the difference between the two. Thanks in advance.

Rick Quatro
Carmen Publishing

Current Thread