Adjust xml