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

Re: [XSLT Streaming] Are xsl:for-each and xsl:iterate

Subject: Re: [XSLT Streaming] Are xsl:for-each and xsl:iterate equivalent?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 29 Aug 2013 15:04:54 +0100
Re:  [XSLT Streaming] Are xsl:for-each and xsl:iterate
On 29/08/2013 14:37, Costello, Roger L. wrote:
To my way of thinking, streaming means that we start at the top and
sequentially make our way through the document (or break out if
desired). Given that, it seems like when doing streaming Best
Practice is to use xsl:iterate and not use xsl:for-each. Do you
agree?

That could be a logical conclusion from my previous comment but I intentionally didn't make it)

There may be performance differences (I wouldn't know, and anyway
Michael who might know always says you should time your own test cases
to answer performance questions:-)

A large proportion of existing stylesheets use for-each and I'd be wary
of painting yourself into a corner of saying most stylesheets need
changing to get streaming operation (it might be the case but not for
this reason)

David


-- google plus: https:/profiles.google.com/d.p.carlisle

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.