[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Alternating Between Values

Subject: RE: Alternating Between Values
From: "Mabry, F. DR EECS" <df6954@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 May 2000 12:04:15 -0400
frank mabry
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.