xsl-list
[Top] [All Lists]

Identity Transform

2003-09-22 13:28:57
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



<Prev in Thread] Current Thread [Next in Thread>