v3t3a
11 years agoOccasional Contributor
Xquery or Xpath with mutiple results
Hi everybody, I just have a simply question (i don't find any response... sorry if it already exist) : - Is it possible to return multiple values for a Xquery request or a Xpath expression? I ...
- 10 years agoIt works with the follow query :
declare namespace soap='http://schemas.xmlsoap.org/soap/envelope/';
declare namespace ns1='http://echange.service.xxx.xxx.com';
<Result>
{
for $x in //ns1:exportAbsenceRequestsListResponse/ns1:exportedAbsenceRequests/ns1:AbsenceRequest
return<a>{data($x/ns1:employeeKey/text())}</a>
}
</Result>
Thanks!