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

Re: How expensive is //?

Subject: Re: How expensive is //?
From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx>
Date: Mon, 11 Sep 2006 10:18:38 +0200
Re:  How expensive is //?
On 9/9/06, Michael Kay <mike@xxxxxxxxxxxx> wrote:
However, the list of x elements that it finds is saved as a kind
of index, linked to the document node, so that the next time you do //x on
the same document it already knows the answer: which is therefore cheaper
than repeating the /a/b/c/x query. This also applies if the //x is part of a
longer path expression.

I'm not sure I understand what you said here? Does this mean that
contrary to common wisdom and understanding multiple uses of //x will
be more efficient than multiple uses of /a/b/c/x  when using Saxon?

Cheers,
Bryan Rasmussen

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.