Subject: RE: Using XSL and schemas to create form-editable xml files
From: Chris Kilner <chris@xxxxxxxxx>
Date: Wed, 28 Feb 2001 10:36:56 +0000
|
>> 3. xsl:copy, when used on attributes, can't have a template body
>It can have a template body, but the template body is ignored. What would
>you want it to do?
>
>Mike Kay
Yes, that is more exact.
I was trying to just copy the attribute name, so I could give it a new value
as an inelegant workaround for a problem that didn't actually need a
workaround.
It has since been pointed out to me that xsl:attribute the way to do this. I
had been put off by the error messages received when I had been mistakenly
using a variable in the name attribute of xsl:attribute *without* the curly
quotes.
Thanks,
Chris
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|