|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: blockQuotes to blockQuote p p
Michael Kay wrote: > The following rules should handle this: > > <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"> We're missing a mode="continue" in the above line, right? Otherwise, I'm confused... > <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. > > Michael Kay > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








