RE: [xsl] Help renaming attributes

Subject: RE: [xsl] Help renaming attributes
From: Nadia.Swaby@xxxxxx
Date: Thu, 06 Oct 2005 09:39:12 -0400
Thanks Jarno!  That fixed the problem.

Nadia


                                                                                                                            
                      Jarno.Elovirta@n                                                                                      
                      okia.com                 To:      xsl-list@xxxxxxxxxxxxxxxxxxxxxx                                     
                                               cc:                                                                          
                      2005-10-06 09:30         Subject: RE: [xsl] Help renaming attributes                                  
                      Please respond                                                                                        
                      to xsl-list                                                                                           
                                                                                                                            
                                                                                                                            




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