[xsl] Grouping and counting values in an element

Subject: [xsl] Grouping and counting values in an element
From: "john lee" <excel_man@xxxxxxxxxxx>
Date: Mon, 16 Aug 2004 19:35:57 +0000
Dear all,

I got a problem.
<Trades>
 <record>
 <Payment_Pattern>111111111111111</Payment_Pattern>
 </record>
 <record>
 <Payment_Pattern>112224443311111</Payment_Pattern>
 </record>
 <record>
 <Payment_Pattern>1112211111133311</Payment_Pattern>
 </record>
</trades>

The question is how do you get the number of 2's (or 1's or 3's) in all the records ?
Any help will be appreciated, thx


Cezar

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail


Current Thread