Subject: Re: grouping problem
From: Michael Ludwig <milu71@xxxxxx>
Date: Fri, 2 Apr 2010 13:59:27 +0200
|
Martin Honnen schrieb am 02.04.2010 um 12:06:46 (+0200):
> <xsl:for-each-group select="*" group-adjacent="self::ueberschrift
> or self::absatz[matches(., 'I+\.')]">
> <xsl:choose>
> <xsl:when test="current-grouping-key()">
> <xsl:copy-of select="current-group()"/>
> </xsl:when>
> <xsl:otherwise>
> [...]
It took me a while to understand this. I find it really clever!
Thanks and happy Easter!
--
Michael Ludwig
|