export folder struct to xml