Hi,
> <xsl:template match="blockQuotes" priority="20">
> <blockQuotes>
> <p><xsl:apply-templates/></p>
> <xsl:apply-template
> match="following-sibling::*[1][self::blockQuotes]"
> mode="continue"/>
> </blockQuotes>
> </xsl:template>
>
> <xsl:template
> match="blockQuotes[preceding-sibling::*[1][self::blockQuotes]]"
> priority="30"/>
>
> <xsl:template
> match="blockQuotes[preceding-sibling::*[1][self::blockQuotes]]"
> priority="30">
> <p><xsl:apply-templates/></p>
> <xsl:apply-template
> match="following-sibling::*[1][self::blockQuotes]"
> mode="continue"/>
> </xsl:template>
>
> In XSLT 2.0 you can use xsl:for-each-group - there is a very similar
> example in the spec.
Mike, Wendell et al., is there a name for sort of grouping technique? Just curious, easier to refer to it.
Cheers,
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|