This is the mail archive of the xsl-list@mulberrytech.com mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
From: "J.Pietschmann" <j3322ptm@yahoo.de> Reply-To: xsl-list@lists.mulberrytech.com To: xsl-list@lists.mulberrytech.com Subject: Re: [xsl] thanks! now help on alternating rows needed. Date: Sat, 07 Sep 2002 22:00:58 +0200 Bill Carter wrote:now we get to my real problem. I am trying to alternate row colors on a table.
The trick is to select only unique tickers and then use position() to determine the bg color as usual: <xsl:for-each select=stocks/ticker[not(.=previous::ticker)]"> ... J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |