Edit xml files