export config to xml