[FIX] XQuery: duplicate insertion of attributes with xml prefix