Re: [xsl] Sorting using more than value

Subject: Re: [xsl] Sorting using more than value
From: Susan Bodnik <aquasue@xxxxxxxxx>
Date: Fri, 12 Nov 2010 08:22:57 -0800 (PST)
Hello Gerrit
Thanks it works now. Not sure how I missed that!

Thanks
Susan
----- Original Message ----
From: "Imsieke, Gerrit, le-tex"
<gerrit.imsieke@xxxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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

Current Thread