Cleaning up XML