-Oorspronkelijk bericht-
Van: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] Namens Ron Hitchens
Verzonden: woensdag 31 augustus 2011 21:38
Aan: General MarkLogic Developer Discussion
Onderwerp: Re: [MarkLogic Dev General] Inconsistent order returned by order
Michael Blakeley wrote:
Hi,
The final XPath step '.../dateline' reorders the results into
node order, as specified by the W3C. A sequence of constructed
nodes has indeterminate node order, so you will see
unpredictable results.
More precisely, nodes from different trees have
MarkLogic friends,
When I run this script in CQ, why does the resulting order change every time
I run it?:
let $articles :=
( articledateline2011-08-21/dateline/article
, articledateline2011-04-21/dateline/article
, articledateline2011-02-21/dateline/article
,
The final XPath step '.../dateline' reorders the results into node order, as
specified by the W3C. A sequence of constructed nodes has indeterminate node
order, so you will see unpredictable results. You can see similar behavior with
sequences of attributes, which also have indeterminate node
On Aug 31, 2011, at 8:16 PM, Michael Blakeley wrote:
The final XPath step '.../dateline' reorders the results into node order, as
specified by the W3C. A sequence of constructed nodes has indeterminate node
order, so you will see unpredictable results. You can see similar behavior
with