Subject: count
From: Marco.Mistroni@xxxxxxxxx
Date: Wed, 19 Jan 2000 17:46:56 +0200
hi all,
	sorry if it is a FAQ...i am in a hurry...
suppose that i have 5 tag
<animal name=hh>
<animal name=tiger>
<animal name=cat>
<animal name=dog>
<animal name=bear>

i am looking for a function that can count,as the template is applied, which
number of occurrence is the node(forgive my bad speaking)....

for example, as it parses(again, sorry for the language) animal= hh it
should return 1
return 2

sorry if i am stupid or ignorant, but does the function position() does the
same(or something like that)?

thanx to all

 XSL-List info and archive:

Current Thread
  • count
    • Marco . Mistroni - Wed, 19 Jan 2000 17:46:56 +0200 <=