export list of datagroups in format of XML. #330