save orders to xml file