Cleanup xml