xsl-list
[Top] [All Lists]

Re: Grouping - starting with certain element and ending before certain elements

2005-10-05 05:42:00

The XSLT 2.0 solution that comes to mind is:

Excellent. That didn't come to my mind so quickly as the walk along
following-sibling::*[1], but my mind has been irretrievably corrupted by
years of XSLT1 (and decades of TeX). for-each-group really does seem to
capture most of the grouping problems that come up, and does make xslt2
a lot easier to use (and probably, to teach) than xslt1 even if you do
have to put up with a certain amount of schema weirdness.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>