Re: Simple xPath. Specyfication lapse?
> Step 3.1: "child::para", context: <div i="2">
> Result 1: <para i="5">
XPath 1.0 expressions return unordered node-sets, see the introduction
in the XPath 1.0 specification:
"The primary syntactic construct in XPath is the expression. An
expression matches the production Expr. An expression is evaluated to
yield an object, which has one of the following four basic types:
* node-set (an unordered collection of nodes without duplicates)
So in terms of the XPath 1.0 specification there is no order of the
If you choose an implementation like MSXML that returns a DOM NodeList
then that implementation has to choose an order. I think with MSXML the
order is document order.
|All times are GMT. The time now is 04:28 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.