save cnt to xml