Subject: RE: how to add a </tr> on every position() mod 4 = 0 ?
From: Jarno.Elovirta@xxxxxxxxx
Date: Mon, 11 Nov 2002 15:00:18 +0200
|
Hi,
> one more question. I'm using as in the example my
> bar[position()] for a
> parameter, so when listing I had a number before : 1..9, but
> now I have
> 1..4, plus I have a in foo a position() 1..3. I could count
> the current
> position if I could see somehow the foo position in <xsl:template
> match="bar"/> but xsl:variable is not overwritten. do you
> know any method to
> find the current bar position() num in the full list?
See xsl:number <http://www.w3.org/TR/xslt#number>
Jarno - VNV Nation: Carbon
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|