Work out on the exporting in xml.