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

Re: Newbie question on XSL and lists

Subject: Re: Newbie question on XSL and lists
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 8 Sep 2000 08:41:56 -0600 (MDT)
xslt code samples
David Carlisle wrote:
> > Beginner rule #1 *NEVER* use xsl:for-each
> 
> why not ?

To paraphrase what Chris said, to break procedural programmers of their
bad habits. Even though this is not what it does, it is easy for beginners
to think of xsl:for-each as a way of circumventing XSLT's template
processing model, which isn't obvious to someone who just knows some
JavaScript and has seen a few XSLT code samples. Speaking from experience,
here... "ah, a friendly loop control mechanism.. now I know how to get at
those 'tags' in my document. screw this esoteric node tree,
apply-templates, template match patterns, import precedence,
built-in-templates stuff" :)

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


 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.