Subject: RE: Alternating Between Values From: "Mabry, F. DR EECS" <df6954@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 17 May 2000 12:04:15 -0400 |
Pass a parameter in the apply templates evaluation. If the present value is one color then the value you place in the parameter to next level of template is the alternate and if it is the alternate already then pass the default. This would be done at the level of the templates that is evaluating over the rows of your table (not evaluating the interior values of the elements of the table row). Frank Dr. Frank Mabry Dept. of EE&CS, U.S. Military Academy West Point, NY 10996 email: df6954@xxxxxxxxxxxxxxxxxxx Phone: (914) 938-2960 -----Original Message----- From: Stallion, Jason (Cahners) [mailto:JStallion@xxxxxxxxxxx] Sent: Wednesday, May 17, 2000 10:24 AM To: 'xsl-list@xxxxxxxxxxxxxxxx' Subject: Alternating Between Values Is it possible to express, in XSL-T, alternate colors on TABLE rows? I considered a global value that could be checked at each new row, but my understanding is that a global variable, once set, cannot be changed. Does anyone have any tips for adding a background color to every *alternate* TABLE row in the result tree? Thanks to anyone who can share some insights on this. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Alternating Between Values, Ben Robb | Thread | RE: Alternating Between Values, Stallion, Jason (Cah |
[Announce] Sablotron 0.35, Petr Cimprich | Date | support to xsl:if, xsl:choose in IE, srirangababu thimmai |
Month |