This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Displaying grid of elements in table with the position() call for input names?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Displaying grid of elements in table with the position() call for input names?
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 8 Mar 2001 11:57:07 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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