[xsl] Identity Transform

Subject: [xsl] Identity Transform
From: "Abie Hamaoui" <ahama5@xxxxxxxxxxx>
Date: Mon, 22 Sep 2003 20:28:57 +0000
hello there,
why does the standard identity transform use copy instead of copy-of?
ie:
 <xsl:template match="/ | @* | node()">
   <xsl:copy>
     <xsl:apply-templates select="@* | node()"/>
   </xsl:copy>
 </xsl:template>

instead of just
 <xsl:template match="/">
   <xsl:copy-pf select="."/>
 </xsl:template>

abie

_________________________________________________________________
Help protect your PC. Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread