23 Sep
2010
23 Sep
'10
9:54 a.m.
Hi Erdal, in xquery it's not possible to combine read queries (returning a result) and update queries in one query. Kind regards, Andreas Erdal Karaca schrieb:
I do not seem to be able to update/modify a DOM and return it using the same query. BaseX complains about update not being possible at that context...
let $x := <root/> return (insert node <x/> into $x, $x)
Is there a way to update and return the DOM using one query or is that not handled by xquery in general?
-- 1 + 1 = 10 ------------------------------------------------------------------------
_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk