operations on .xml files