configured mam and pim to xml