[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Copy element with attributes
Thanks, you pointed it out to me:
<xsl:template match="body/@text"> <xsl:attribute name="text">#000000</xsl:attribute> </xsl:template> <xsl:template match="body"> <xsl:copy> <xsl:apply-templates select="@*"/><! -- this was failing me --> Prepend <xsl:apply-templates/> Append </xsl:copy> </xsl:template> From: Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Copy element with attributes Date: Tue, 29 Nov 2005 14:25:13 +0100 _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|