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

Re: Does the count() function require access to the wh

Subject: Re: Does the count() function require access to the whole subtree?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Sun, 12 Jan 2014 21:11:21 +0000
Re:  Does the count() function require access to the wh
> It's traversing the subtree rooted at $n that's not an inspection
> operation; this requires access to the nodes under $n, so it would be
> an absorption operation. So from context $n, count($n/some/path) is
> not going to be streamable unless we allow it to "absorb" $n in doing
> so -- not because of the count(), but because of the traversal.

My reading of it so far suggests that count($n/some/path) would be
"striding" and therefore streamable.

It would only be "absorbing" if you materialised the contents of <path>.

Andrew Welch

Current Thread


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.
First Name
Last Name
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.