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

Re: Tracking line counts uniquely by section

Subject: Re: Tracking line counts uniquely by section
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 07 Nov 2002 22:17:41 +0100
line follower code
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

J.Pietschmann



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.