RE: [xsl] xsl:copy

Subject: RE: [xsl] xsl:copy
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 28 Jun 2001 13:46:57 +0100
> 
> I've used :  
>  <xsl:template match="*">
>   <xsl:copy> 
>    <xsl:apply-templates/>
>   </xsl:copy>
>  </xsl:template>
> 
> it copies every knotes but that method doesn't copy
> the atributes of the knotes!

Add <xsl:copy-of select="@*"/>

Mike Kay
Software AG
> 

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


Current Thread