That's it! Thanks Michael.
Half of all knowledge is knowing where to find it -- and in this case,
knowing what it's called. :-)
Mark
On 6/5/07, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
You failed to guess the right keyword: "grouping".
This is a classic grouping problem. In XSLT 2.0 such problems are easy, use
xsl:for-each-group. In XSLT 1.0 they are much harder, except that the code
has been written many times. See http://www.jenitennison.com/xslt/grouping.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--