[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Grouping Adjacent Elements in XSLT 1.0 and Duplicates
Subject: RE: [xsl] Grouping Adjacent Elements in XSLT 1.0 and Duplicates From: "Joe Heidenreich" <HeidenreichJ@xxxxxxxx> Date: Thu, 21 Oct 2004 10:56:35 -0400 |
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>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Grouping Adjacent Element, Anton Triest | Thread | [xsl] HTML sortable columns, John |
[xsl] Assigning keywords according , Huditsch Roman | Date | Re: [xsl] HTML sortable columns, Wendell Piez |
Month |