On 14/01/2014 10:30, John Lumley wrote:
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 x2.
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.)
Correction - the trees of course cannot have partial overlap (they
wouldn't be trees if they were....), though XPath nodesets can have
partial overlaps.
John
(Apologies for "it's" being used incorrectly - must switch that
predictive corrector off on the iSomethingOrOther.........)
--
*John Lumley* MA PhD CEng FIEE
john(_at_)saxonica(_dot_)com <mailto:john(_at_)saxonica(_dot_)com>
on behalf of Saxonica Ltd
--~------------------------------------------------------------------
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>
--~--