xsl-list
[Top] [All Lists]

Re: [xsl] Sorting using more than value

2010-11-12 10:23:20
Hello Gerrit
Thanks it works now. Not sure how I missed that!

Thanks
Susan



----- Original Message ----
From: "Imsieke, Gerrit, le-tex" <gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de>
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Sent: Thu, November 11, 2010 5:38:23 PM
Subject: Re: [xsl] Sorting using more than value



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>
--~--



--~------------------------------------------------------------------
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>