xsl-list
[Top] [All Lists]

Re: [xsl] grouping problem

2010-04-02 07:00:06
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

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