[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: John Lumley <john@xxxxxxxxxxxx>
Date: Tue, 14 Jan 2014 10:30:24 +0000
Re:  Does the count() function require access to the wh
Imagine a tree which contains somewhere an element whose name is X. Let's call
that x1. A descendant of x1 is another element with name X. Let's call that

Invoking //X of course discovers both x1 and x2. Each has its own tree - it's
node and it's subtrees. But the tree of x1 overlaps that of x2 - some members
of the tree of x1 are in the tree of x2 (In this case it is a total overlap,
for other expressions it could be partial.)


> On 14 Jan 2014, at 10:11, "Costello, Roger L." <costello@xxxxxxxxx> wrote:
> Yesterday Michael Kay wrote:
>    //x is a "crawling" expression - one that selects
>    nodes which may overlap each other.
> Michael, I do not understand what you mean by "overlap". It seems like an
important concept, since you have used that word repeatedly.
> Would you give an example of overlapping nodes please?
> /Roger

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.