[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] template match on attribute, copy but change value


Subject: Re: [xsl] template match on attribute, copy but change value
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 11 Jul 2003 00:24:01 +0100


> Well, I guess I'm on my way, but if anybody has comments as to this 
> approach, I would more than welcome them.

Looks right to me.

xsl:copy doesn't work as (unlike element character data which is a child
text node) an attribute value is part of the attribute node itself, so
when you copy the attribute you copy its value.


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



Current Thread