Re: [xsl] Another (positional?) grouping problem

Subject: Re: [xsl] Another (positional?) grouping problem
From: Rudolf P. Weinmann <rudolf.weinmann@xxxxxxxxxxxx>
Date: Fri, 20 Oct 2006 09:20:44 +0200
><xsl:for-each-group select="* except BALANCE_OLD"
group-starting-with="DATE">

Thank you Michael, that did the job!

Actually, I have to exclude an unknown number of elements before the first
DATE, so I amended your suggestion to <xsl:for-each-group
select="* except /DOC/DATE[1]/preceding-sibling::*"
group-starting-with="DATE"> and it works fine (thanks to Saxon).

It's probably time for me to shift from xslt 1.0 to 2.0.
Rudolf

Current Thread