xsl-list
[Top] [All Lists]

RE: Help renaming attributes

2005-10-06 06:39:12

Thanks Jarno!  That fixed the problem.

Nadia


                                                                                
                                            
                      Jarno(_dot_)Elovirta(_at_)n                               
                                                       
                      okia.com                 To:      
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com                                
     
                                               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>

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>