RE: [xsl] Help renaming attributes

Subject: RE: [xsl] Help renaming attributes
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Thu, 6 Oct 2005 16:30:10 +0300
Hi,

Hi,

> I tried using this code (XSLT 2.0 with Saxon 8 .5):
>
> <xsl:copy>
>       <xsl:for-each select="@*">
>             <xsl:attribute name="lower-case(name(.))">

type of the name attribute of xsl:attribute is not an expression, but rather a
qname. Use attribute value templates

  <xsl:attribute name="{lower-case(name(.))}">

Cheers,

Jarno

--
Art Ensemble Of Chicago: Duffvipels-Checkmate-Dautalty-Mata Kimasu
<http://www.nousu.net/promo/Energy Mix.mp3>

Current Thread