Fix formatting issues with XML files