Add PrettyXML function to format xml files