remove namespace declarations from attributes