xsl-list
[Top] [All Lists]

Grouping and counting values in an element

2004-08-16 12:35:57
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



<Prev in Thread] Current Thread [Next in Thread>