72 72 72

Retrieve a set of multiple nodes from an XML document using XPATH

49 Views Asked by At

I'm working in readyAPI, i have an xml response from a JDBC request like :

<Results>
   <ResultSet fetchSize="10">
      <Row rowNumber="1">
         <ID_Question>72</ID_Question>
      </Row>
      <Row rowNumber="2">
         <ID_Question>73</ID_Question>
      </Row>
      <Row rowNumber="3">
         <ID_Question>74</ID_Question>
      </Row>
      <Row rowNumber="4">
         <ID_Question>75</ID_Question>
      </Row>
      <Row rowNumber="5">
         <ID_Question>76</ID_Question>
      </Row>
   </ResultSet>
</Results>

i want to retrieve all the ID_Question elements as a list to use them in a rest request

i tried the property transfer using the XPath like this :

//*:ID_Question

but it returns only the first value.

What should i use to retrieve all the values?

Thanks for help !

0

There are 0 best solutions below