xsl-list
[Top] [All Lists]

Re: [xsl] Sorting using more than value

2010-11-11 16:38:45


On 11.11.2010 23:24, Susan Bodnik wrote:
Wendell, thanks for your reply - much appreciated.

I made the following change to the
template:<xsl:for-each-groupselect="//indexterm"group-by="(@term.entry,text()[1])">

Try "(@term.entry,text())[1]" as Wendell suggested, which is just a shorthand for
if (@term.entry) then @term.entry else text()

-Gerrit

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>