now with dynamic xml for csv conversion