On 10.09.2019 03:50, Andreas Mixich wrote:
adding to my last email: of course, this way I still did not solve addition of more namespaces. Any ideas on that?
modify insert node namespace {"foo"} {"foobar"} into $c/self::node()
Because, even if I reconstruct the node completely, with the non-updating expressions, I would not know any other syntax, that would match the purpose.
Let's hope that Christian or others can give you some insight on that, I can't get any handle on how to figure where/how the XQuery update spec or implementations allow deletion or insertion of namespaces. I found one question on StackOverflow answered by Christian that suggested that deletion is not possible with XQuery update.