|
Subject: Re: [xsl] Subject: Counting Path Occurrences From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Sun, 1 Apr 2007 21:03:13 +0530 |
<xsl:for-each-group
select="//*/string-join(ancestor-or-self::*/name(), '/')"
group-by=".">
<xsl:sequence select="concat('
', ., ' - ', count(current-group()))"/>
</xsl:for-each-group>
Except, if we change slightly the concat to following (please note a
starting '/'):
concat('
', '/', ., ' - ', count(current-group()))-- Regards, Mukul Gandhi
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Proposed syntax for names, Eric Bréchemier | Thread | Re: [xsl] Subject: Counting Path Oc, Scott Coon |
| Re: [xsl] Proposed syntax for names, Dimitre Novatchev | Date | RE: [xsl] Proposed syntax for names, Michael Kay |
| Month |