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