Hi Thomas,
this is due to the specification - renaming documents inside collections or databases is out of scope: XQuery Update does not allow modifications outside the root node - and this is where actual document node, that contains the document name, resides.
I am sorry that at the moment we can not provide a command that does this for you. You could however delete and re-add that document.
Hope this helps for the moment.
Grüße aus Konstanz Michael
Am 20.04.2011 um 17:13 schrieb Thomas Kaltofen:
Hi, why is it not possible to rename a document in a database with an update XQuery? Thanks for helping out!
Regards, Thomas _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk