[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: Larry Garfield <larry@xxxxxxxxxxxxxxxx>
Date: Mon, 09 Jun 2003 12:45:07 -0500
change bgcolor
Wendell Piez wrote:
At 05:52 AM 6/9/2003, Larry wrote:

Having ushered for one of Ken's talks where he talks about push vs. pull (Hi Ken! <g>), I think the best way to break it down is push = apply-templates, while pull = value-of. The key being the ORDER of elements in push being decided by the order in the source document, while the order of elements in the pull method being decided by the stylesheet. You're "pulling in" the value, as opposed to letting the XSLT processor "push" the value to you in the order it finds it. The match attribute is just a filter.

With all respect, I think this discussion indicates how far short of a clean, technical distinction is made by "push/pull". It's a handy distinction to make, but a rough one.

Oh, I agree completely. There's no "pull" or "push" element in XSLT, it's an analyst-derived distinction that's helpful for teaching the processing system. Like OO design patterns, they're not hard and fast rules, merely guidelines and techniques that are helpful.


--
Larry Garfield			AIM: LOLG42
larry@xxxxxxxxxxxxxxxx		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson


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.