xsl-list
[Top] [All Lists]

Re: name of attributes like name() function for elements?

2002-12-05 05:56:08
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

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list