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

RE: Performance -- Re: RE:"*NEVER* use for-each"

Subject: RE: Performance -- Re: RE:"*NEVER* use for-each"
From: "Evan Lenz" <elenz@xxxxxxxxxxx>
Date: Tue, 27 Feb 2001 16:05:44 -0800
RE: Performance -- Re:  RE:"*NEVER* use for-each"
Patrick, Curtis W wrote:
> Please note that the use of "for-each" is not a design requirement, but
> rather an implementation detail.  Perhaps that misunderstanding
> was the root
> of your earlier project failures.

It's quite possible that I'm misunderstanding what you're saying here, but
the flexibility, modularity, and power of template rules often certainly do
make template rules a "design requirement" over using xsl:for-each. I would
definitely not consider one approach over the other as an "implementation
detail"; just look at the difference between the two examples I gave in my
last post (Subject: Template rules vs. XQuery). Granted, template rules (or
an equivalently confusing recursive named template) are not absolutely
necessary for many use cases, but from a design standpoint template rules
lend themselves toward easier maintenance and reusability (eg. xsl:import)
than if only xsl:for-each is used.

Evan Lenz
XYZFind Corp.


 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.