Forum Discussion

hngnango's avatar
hngnango
Occasional Contributor
7 years ago

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:/...
  • hngnango's avatar
    7 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>