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