generate the offloading xml