[Home] [By Thread] [By Date] [Recent Entries]
Ihe Onwuka ihe.onwuka@xxxxxxxxx wrote:
I set about eliminating duplicate lines (where I have defined a duplicate line as one where the first title element matches that of some other line. Use the "=" operator and all preceding sibling line elements: <xsl:template match="line[title[1] = preceding-sibling::line/title[1]]"/>
<xsl:template match="line">
<xsl:apply-templates select="title[1]"/>
</xsl:template>
|

Cart



