xsl-list
[Top] [All Lists]

Re: [xsl] Does the count() function require access to the whole subtree?

2014-01-12 15:11:33
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
http://andrewjwelch.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>