hngnango
8 years agoOccasional Contributor
how to return multiple value in return statement in xqueries expression
Hi I am trying to return multiple value in return statement as described below, but I am getting syntax error =================================================== declare namespace soapenv='http:/...
- 8 years ago
Hi .
I found my error
instead of put
----------
return data{$/ns1: plz} {data($x/ns1:bezeichnung)}
I rather put
return {data($/ns1: plz)} {data($x/ns1:bezeichnung)}
then I am getting the response below I was looking for
<Result>
<bankname>Deutsche Bank Ld Brandenburg14405Potsdam</bankname>
</Result>