[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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
  • xsl:copy
    • franck delarue - Thu, 28 Jun 2001 07:53:15 -0400 (EDT)
      • Michael Kay - Thu, 28 Jun 2001 08:48:52 -0400 (EDT) <=
      • <Possible follow-ups>
      • Dudley, Mark - Thu, 28 Jun 2001 08:17:26 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member