Subject: Re: [xsl] Background color in table|
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 May 2003 08:49:30 -0400
I'm about to make web page that should have a table of names in it. I would like to have different background color on each other ro in the table, example: black white black white...
I have trouble getting this to work with the XSL. This is an example on the xml I have to work with <pack> <service> <name>name1</name> </service> <service> <name>name2</name> </service> </pack> <pack> <service> <name>name3</name> </service> <service> <name>name4</name> </service> </pack>
I want to list all services names. I managed to solve it when I only had one <pack> tag, but now I can have several pack-tags. Does someone know how to get a nice table from this data?
-- Upcoming hands-on courses: (registration still open!) - (XSLT/XPath and/or XSL-FO) North America: June 16-20, 2003
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-11-X Practical Formatting Using XSL-FO Member of the XML Guild of Practitioners: http://XMLGuild.info Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc