added generating XML for import