| 
 
Subject: Re: [xsl] Sorting using more than value From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 12 Nov 2010 12:50:17 -0500  | 
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()
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Sorting using more than v, Susan Bodnik | Thread | Re: [xsl] Sorting using more than v, Susan Bodnik | 
| Re: [xsl] Sorting using more than v, Susan Bodnik | Date | Re: [xsl] [XSLT 1.0] Q: recursively, Wendell Piez | 
| Month |