xsl-list
[Top] [All Lists]

RE: how to add a </tr> on every position() mod 4 = 0 ?

2002-11-11 06:00:18
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



<Prev in Thread] Current Thread [Next in Thread>