[xsl] Counting the number of elements in a variable before looping

Subject: [xsl] Counting the number of elements in a variable before looping
From: sudheshna iyer <sudheshnaiyer@xxxxxxxxx>
Date: Wed, 27 Jun 2007 09:06:27 -0700 (PDT)
I need to find out how many elements are present in
the variable "computers" in the below for-each.

<xsl:for-each select="$computers">

I need to display a message to the user based on the
number of elements that are present.

Is there any variable called count for doing the above?


 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

Current Thread