|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: generalized template to transform elements to attributes
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








