David,
Your solution to grouping where an element overlaps two groups is
impressive, but how would you handle the case where a text node (with
two newlines) overlaps three groups? It seems like the looping concept
breaks down.
Bill
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list