Subject: Re: [xsl] current() within a key element's @use From: Michael Kay <mike@xxxxxxxxxxxx> Date: Fri, 28 Dec 2012 15:28:24 +0000 |
I have found inconsistent behavior when using current() in the use attribute of a key element.
Shouldn't these <xsl:key name="keyUsingCurrent" match="color" use="current()/@id"/> <xsl:key name="keyWithoutCurrent" match="color" use="@id"/> produce the same set of keys?
Michael Kay Saxonica
I need current() to work inside @use, so that I can have an attribute such as
use="../tagUsage[@render=current()/@xml:id]/@gi". See http://stackoverflow.com/questions/13984167/create-xsl-key-by-joining-elements. If this is a bug, is there a workaround?
Thanks for any help.
-- JPM
John P. McCaskey, mailbox@xxxxxxxxxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] current() within a key el, Wendell Piez | Thread | Re: [xsl] current() within a key el, Chris Maloney |
Re: [xsl] current() within a key el, Wendell Piez | Date | Re: [xsl] current() within a key el, Chris Maloney |
Month |