On 27.09.2020 14:48, Günter Dunz-Wolff wrote:
Hi all, can’t figure it out. Is there any way in XQuery Update, to delete a specific attribute from any node?
Doesn't
delete node //@foo
delete all "foo" attributes?
Or
. update delete node descendant-or-self::*/@foo
?
Question to Christian: why does
. update delete node descendant-or-self::*/@class
work for me but
/ update delete node descendant-or-self::*/@class
gives an error unexpect end of query.