custom export of xml files