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

Subject: Re: [xsl] name of attributes like name() function for elements?
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 5 Dec 2002 12:56:08 +0000
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


Current Thread