|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Alternating Between Values
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








