Accept application/xml create Accept application/xml build Accept application/xml launch Accept application/xml unpause queue.xml write xquery / index.xml write document into $q, for $a in /queue/action where $a/@uuid = $(uuid) return update delete $a ]]>