Content of push1.xq exampleimport module namespace queue = "http://zorba.io/modules/queue"; variable $name := fn:QName("", "queue1"); ( queue:create($name), queue:push($name, <a/>), queue:push($name, <b/>), queue:pop($name), queue:push($name, <c/>), queue:push($name, <d/>), queue:pop($name) ) |