Hi David,
Thank you for the suggestions. It worked :)
Have a great day.
Karthikeyan B
----- Original Message -----
From: "David Carlisle" <davidc(_at_)nag(_dot_)co(_dot_)uk>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, October 30, 2003 3:38 PM
Subject: Re: [xsl] XSL Grouping Trouble
how about grouping just based on chapter and section[79-31] and
not including 15
Instead of grouping on PARA, group on
concat(substring-after(PARA,'-'),substring-before(substring-after(PARA,'-'),
'-'))
(which would give the empty string for "=missing" which might or might
not be OK, depending what you want.
or if they are all two digit, the simpler:
substring(PARA,1,5)
David
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list