Subject: Re: [xsl] name of attributes like name() function for elements? From: Georges Schmitz <georges.schmitz@xxxxxxxxx> Date: Thu, 05 Dec 2002 16:46:47 +0100 |
| Thanks Jeni, | | I found out what went wrong: I tested my stylesheet with xsltproc, | and well, it seems to have a bug. With saxon it works indeed! | | Regards, | Georges |
Hi Georges,
Is it possible to get the name of an attribute in the same way, as with the name() function for elements?
The name() function works for attributes (and indeed all nodes) as well as for elements. Try:
<xsl:key name="insert.template.attr" match="@*" use="name()"/>
Cheers,
Jeni
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] name of attributes like n, Jeni Tennison | Thread | RE: [xsl] name of attributes like n, Michael Kay |
Re: [xsl] changing context node, David Carlisle | Date | [xsl] Re: Key and/or grouping quest, Edward L. Knoll |
Month |