Subject: [xsl] Counting uniquely selected values of elements From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx> Date: Mon, 14 Apr 2003 12:45:16 +0000 |
<root> <a><b><c>this</c></b></a> <a><b><c>that</c></b></a> <a><b><c>that</c></b></a> <a><b><c>not this</c></b></a> <a><b><c>not that</c></b></a> <a><b><c>this</c></b></a> <a><b><c>this</c></b></a> </root>
<xsl:template match="/"> <xsl:apply-templates select="root"/> </xsl:template>
<xsl:template match="a/b/c"> <xsl:value-of select="."/> occurs <xsl:value-of select="count(preceeding::a/b/c=.)"/> times. <!-- Syntax is not right here either --> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] saxon, Michael Kay | Thread | Re: [xsl] Counting uniquely selecte, David Carlisle |
Re: [xsl] saxon, David Carlisle | Date | RE: [xsl] Counting uniquely selecte, Jarno . Elovirta |
Month |