W3C home > Mailing lists > Public > www-ql@w3.org > July to September 2003

Re: creation order vs. document order

From: Torsten Grust <Torsten.Grust@uni-konstanz.de>
Date: Tue, 23 Sep 2003 16:43:06 +0200
Message-ID: <16240.23546.261784.360395@gargle.gargle.HOWL>
To: Jan Hidders <jan.hidders@ua.ac.be>
Cc: www-ql@w3.org

Hi again,

On September 23 (16:34 +0200), Jan Hidders wrote with possible deletions:
| [...]
| I don't think that answers my question. This says something about the
| order of the nodes but nothing about their order in document order: it
| is still quite possible that Value2 precedes Value1 in document order.
| It all depends on where in the universe of all created fragment newly
| created nodes are placed when they are created.

Aha, now I realize where are you getting at.  I got distracted by your
FLWR block, I guess.  ;-)

If your question concerns the creation of ``free standing'' nodes
(like the <c> nodes in your original query), then the XQuery and XPath
Data Model Document might help:

   3.2 Document Order

   The relative order of free-standing nodes (elements, attributes,
   and other nodes created outside the context of a particular
   document) is also implementation-dependent but stable.


  | Dr. Torsten Grust                          Torsten.Grust@uni-konstanz.de |
  |                                   http://www.inf.uni-konstanz.de/~grust/ |
  | Database Research Group, University of Konstanz (Lake Constance/Germany) |
  |             (Please avoid sending me MS Word or PowerPoint attachments.) |
Received on Tuesday, 23 September 2003 10:43:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:43 UTC