Order preservation in the result document for a query.

Thanks for the satisfactory reply. I had one more comment about preserving
order in the result document for a query.

You say that the order in the original document will be preserved in the
result document for a query. But suppose the query language is also XML,
so the query implicitly specifies an expected order in the result (even if
no output structure transformation is specified). So now the question is :
do you want the result to have the order specified in the query or the
order present in the document. There could be advantages in having the
order as specified in the query, if the query is on multiple documents
with different structures, we obtain more structured results. There are
advantages in preserving the order in documents also, we can obtain the
previus effect by specifying output transformation. But I think there are
some implications on the implementation also based on this choice, which
I am not very aware of. I would say, probably both the orders should be
acceptable in the result document.

Thanks - Murali.

Received on Thursday, 30 March 2000 10:46:19 UTC