Hi

I'm wondering if this is at all possible...
I defined an array variable in my XQUERY:

declare variable $ca as array(xs:integer) external := [];


How can I assign a value (e.g [1,2]) to this variable through the URL? I
have already tried:
http://host:port/rest/dbname?run=query.xq&$ca[]=1&$ca[]=2
That didn't work. Neither did this:
http://host:port/rest/dbname?run=query.xq&$ca=1,2

Any hints are much appreciated.
Thanks
Csaba

Reply via email to