Subject: RE: [xsl] blockQuotes to blockQuote p p From: Jarno.Elovirta@xxxxxxxxx Date: Fri, 2 May 2003 11:46:15 +0300 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] blockQuotes to blockQuote, Passin, Tom | Thread | RE: [xsl] blockQuotes to blockQuote, Michael Kay |
RE: [xsl] Newline problems, Michael Kay | Date | [xsl] Node-List in Variables, Hayk, Matthias |
Month |