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

Re: Ordering of Blocks based on Input/Output

Subject: Re: Ordering of Blocks based on Input/Output
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Wed, 09 May 2001 14:04:44 +0100
Re:  Ordering of Blocks based on Input/Output

Ingo Schildmann wrote:
> 
> On Wednesday 09 May 2001 11:38, Francis Norton wrote:
> >     <!-- always need a terminate condition in recursive functions -->
> >     <xsl:if test="count($todo) > 0">
> 
> This test does the same as test="$todo", which is
> much more efficient for larger data,
> if the processor doesn't optimize it anyway.
> 
Quite right about the equivalence, though I don't know if doing count()
on a node-set held in a variable will take as long as it would if
gathering the node-set for the first time. Certainly "test='$todo'" is
safer and better XSLT style.

Francis.

 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.