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

RE: every tenth row change bgcolor

Subject: RE: every tenth row change bgcolor
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Mon, 9 Jun 2003 10:06:06 +0100
change bgcolor
Ken:
>So, you will see below a working version where I tighten up the node 
>processing by pushing only the nodes that are to be affected by the 
>position() function in the current node list, and the counting modulo 
>arithmetic is based on the grouping of 10 Rows, not the combination of 10 
>Rows and 10 Text nodes.
>
>I hope this helps.
>
>............... Ken

Hi Ken,

Sorry to be picky, but here you mention 'pushing' nodes to a template using <xsl:apply-templates select="foo"/>, I've always regarded that as pulling... is that right?  I've always thought the only way you can use 'push' is through a basic <xsl:apply-templates/> where the next node to process is decided by document order, with any select statement (apply-templates or for-each) pulling nodes through (e.g. the nodes to process are decided by the stylesheet).

I may be missing one of the fundamentals here :)

Cheers
andrew 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003
 

 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.