[Home] [By Thread] [By Date] [Recent Entries]
On 3/30/07, Scott Coon <scoon@xxxxxxxxxxxxx> wrote:
This for-each-group <xsl:for-each-group
select="//*/string-join(ancestor-or-self::*/name(), '/')"
group-by=".">
<xsl:sequence select="concat('
', ., ' - ', count(current-group()))"/>
</xsl:for-each-group>give this result: a - 1 a/b - 2 a/b/x - 3 a/b/x/w - 3 a/b/y - 1 a/c - 1 a/c/w - 2 cheers andrew
|

Cart



