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

Using apply templates vs using value-of select /for-each

Subject: Using apply templates vs using value-of select /for-each
From: "Douglas Nehring" <dnehring@xxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Apr 1999 15:12:43 -0500
apply templates vs for each
Yet another question...
Looking at all the examples of XSL I have found/received, I've noticed that
some people use "xsl:value-of select" and/or "xsl:for-each select" while
others use "apply templates".  I tried a couple of simple examples myself
and was able to achieve the same results using both methods.

Is any one way "better" than the another (i.e. better supported by parsers,
etc)?  Can you do some things with one that you can't do with the other?
Are there any examples of this?

If this has been covered in a previous thread, please let me know and I'll
check the archives for it again.

Regards,

Doug Nehring
Nortel Networks
MSL-100 Advanced Technology 
Richardson, TX
(972) 685-2096, ESN 445-2096


 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.