|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: sorting titles w stopwords but w/o value in every
David Carlisle wrote:
>
> you can't use variables or extension functions in match patterns.
> Just use
>
> <xsl:key name="ref-titles" match="*" use="@doc-number"/>
>
> and make sure that the current node is inside the tree generated by
> exsl:node-set($sort-titles) when you call key('ref-titles', ...)
> key() always returns nodes from the current document.
But that seems to mean that I can't use a key in this case,
because I want to use it inside xsl:sort:
<xsl:for-each select="//section-02">
<xsl:sort select="key('ref-titles', doc-number)"/>
How could I make exsl:node-set($sort-titles) the current document there?
Anton Triest
|
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








