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

Re: Do xsl processors contain optimizer for conditions

Subject: Re: Do xsl processors contain optimizer for conditions?
From: cert21 <cert21@xxxxxxx>
Date: Sat, 14 Nov 2009 12:29:56 -0500
Re:  Do xsl processors contain optimizer for conditions
Martin Honnen wrote:

Technically it is a question about XPath expressions, if you look at the specification http://www.w3.org/TR/xpath#booleans then it clearly says for 'and' expressions:
"The right operand is not evaluated if the left operand evaluates to false."


And for 'or' expressions:
"The right operand is not evaluated if the left operand evaluates to true."


So it is not question about optimization, the language specification prescribes what to do.

Thank you.
It's good to know. This means that order of multiple conditions in evaluation is important for optimization purposes, the one that is most likely
to fail should be the first condition.


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.