Subject: RE: Displaying grid of elements in table with the position() call for input names?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 8 Mar 2001 11:57:07 -0000
|
> I am looping through X # of rows. In doing so, I give each
> and every input box a name like so:
...
> Does position() give me the number of fields in the current
> xsl:for-each loop?
Yes.
> If so, how can I access the "outer" xsl:for-each loops count?
Do <xsl:variable name="outer-position" select="position()"/> just before
entering the inner loop.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|