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.
OK, / update is ambigious, it has to be
(/) update delete node //@class
to make sure the update is not seen as a child node selection of update elements to the root node /.