format .xml script