[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: generalized template to transform elements to attributes


Subject: Re: generalized template to transform elements to attributes
From: Honglin Su <hosu@xxxxxxxxxxx>
Date: Tue, 03 Aug 1999 18:11:07 -0400

It works in LotusXSL with qname(.).

The other way is to use Java entension mechanism to return attribute name. e.g.
<xsl:functions ns="lxslt" type="application/java" classid="GetName"/>
...
<xsl:attribute name="{lxslt:getAttrName(.)}">

Thank you very much!

Honglin

David Carlisle wrote:

> > Can you tell me which XSLT processor you are using? I use LotusXSL, it seems
> > to have  some pattern warning on attribute name.
>
> Sorry, my fault. Normally I say explicitly which draft XSL I am working
> to, but I thought as I wasn't using axes on that one it would work on
> older drafts, but I forgot
> the function name(.)
> was called qname(.)
> in the April draft of XSL, most likely lotusxsl is using that form
> unless there has been a release in the last month.
>
> David
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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



Current Thread
Keywords