Michael Kay wrote:
I think you do want group-starting-with="start", but constrained to the
"top-level" start elements, thus:
group-starting-with="start[count(preceding-sibling::start) =
count(preceding-sibling::end)]"
then you need to do the grouping again recursively on these groups to get
the next level, and so on.
Thanks Michael for the helpful idea.
I finally have it working here (after finding my stupid mistake of not
xsl:copy'ing the initial groups to a variable before applying the
recursion, which of course made preceding-sibling::* in the grouping
condition find elements in the document beyond the current for-each-
group node list - oh well...).
-Christian
--~------------------------------------------------------------------
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>
--~--