xsl-list
[Top] [All Lists]

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

2006-10-20 00:21:04
<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

--~------------------------------------------------------------------
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>