RE: [xsl] Global extension function

Subject: RE: [xsl] Global extension function
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 24 Feb 2003 17:07:11 -0000
> What I want to do is change the background color of the table 
> every 3 lines. This is the only way that I have found to do 
> this. 

This is a FAQ, and is dead easy. The background color is a function of
(position() mod 3).

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread