import module namespace http="http://www.zorba-xquery.com/modules/http-client"; http:get("http://zorbatest.lambda.nu:8080/cgi-bin/test-text")[2] (: Expected output: Method: GET Query: Post: :)