Hi Anupam,
I noticed that collection() returns the nodes in the order in which they were added (which is good). However, db:list() returns them in alphabetical order. Any reason why that is the case?
please note that there's no guarantee that collection() or db:open() will return all documents in the order they have originally been added to the database. Next, future version of BaseX will most probably outlaw the storage of documents with identical names [1], which is why I'd second Jens' proposal to assign different names to your documents.
Christian
[1] https://github.com/BaseXdb/basex/issues/429
Can I somehow get the list of resources in the order in which they were added?
Thanks, Anupam
P.S. Jens, thanks for your suggestion, I'll try that if all else fails. Christian, I'll try the server feature in the latest source and send feedback a little later. Thanks for your help and suggestions.
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk