Add patch for ViewXML function in DataTransfer