generate xml for dispatch simple