Adjust xml code format