Subject: RE: counter, counter-increment with LotusXSL
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 31 Jan 2000 15:50:27 -0000
|
> Are the counter and counter-increment XSL elements not
> supported anymore.
They disappeared from the spec a while back.
> I need a counter based on
> a sorted result tree. I'm trying to alternate background
> color for rows, and my original version of XSL code is formatting the
background color
> based on where the node exists in the physical document
> (instead of where it exists once everything is sorted).
>
I'd have thought you could do that using test="position() mod 2 = 0"
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|