xsl-list
[Top] [All Lists]

COUNT IN THE SAME STYLESHEET

2002-12-01 09:24:09
hELLO BOYS
I'VE AN URGENT PROBLEM TO SOLVE
 
I have an xsl stylesheet that produce a structure as
 
 
<html>
<body>
<ROOT>
<NAME>....</NAME>
hello
<NAME>...</NAME>
<NAME>...</NAME>
</ROOT>
</body>
</html>
 
I NEED TO COUNT THE NUMBER OF NODE "NAME" BUT I HAVE TO DO IT IN THE
SAME XSL SHEET THAT PRODUCE THEM!
so the output have to be:
 
<html>
<body>
<ROOT>
<NAME>....</NAME>
hello
<NAME>...</NAME>
<NAME>...</NAME>
the number of name is 3
</ROOT>
</body>
</html>
 
 
 
how can i do?
 
thanks! 
   
 
 
   
 




--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor:
Occhialeria.it
Scopri le migliori marche a prezzi imbattibili
Clicca qui: http://adv2.email.it/cgi-bin/foclick.cgi?mid=879&d=1-12

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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