Subject: Re: [xsl] Tracking line counts uniquely by section From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Thu, 07 Nov 2002 22:17:41 +0100 |
Schwartz, Rechell R, ALCAS wrote: > I am using the following code (adapted from code graciously provided by Ken > Holman) to generate alternate row colors for rows in a table using the > identity transformation. I would now like to take the next step and add the > following change: > > The table is comprised of multiple sections and after each section header, I > want to be able able to start the row counter back to 1 so that the line > following the section header always has the same color: The distingushing > characteristics of the section headers are that they have a class attribute > called "headerStyle", and therefore need to be exempted form receiving an odd > or even row style, and rows following the section header line all need to > have the same color.
You appear to have a grouping problem. In order to privide code you have to tell what defines a section. You can look up hints how to do grouping in the XSLT FAQ: http://www.dpawson.co.uk/xsl/sect2/N4486.html or Jeni Tennisons site: http://www.jenitennison.com/xslt/grouping/index.html
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Tracking line counts uniquely, Schwartz, Rechell R, | Thread | [xsl] not()'ing a false variable, x, Elizabeth Barham |
Re: [xsl] UTF-8, RTF and XSLT, J.Pietschmann | Date | Re: [xsl] MSXML / NBSP problem and , Mike Brown |
Month |