|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Grouping Adjacent Elements in XSLT 1.0 and Duplica
Thanks Anton and Jeni, works great. -Joe > <xsl:template match="ol_li"> > <xsl:if test="not(preceding-sibling::*[1][self::ol_li])"> > <ol> > <xsl:apply-templates select="." mode="li"/> > </ol> > </xsl:if> > </xsl:template> > > <xsl:template match="ol_li" mode="li"> > <li><xsl:apply-templates/></li> > <xsl:apply-templates >select="following-sibling::*[1][self::ol_li]" mode="li"/> > </xsl:template>
|
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








