xml dump: remove duplicate attribute