it's a grouping problem (see jeni's site) you want to group on some value
that depends on th eimmediately preceding a
so something like
generate-id(preceding-sibling::a[1]) or
count(preceding-sibling::a)
would give you a value that distinguishes your range.
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