jsreesoap
12 years agoContributor
How to read xml nodes one by one and store
I get xml in response as shown below:
<Response>
<e>1234</e>
<e>5678</e>
<e>12599</e>
<e>4545445</e>
</Response>
I need to read each value and store it in a property/variable so that I can call one by one in my other script. The values are dynamic, next time I run it I may get only 4 values or 20 and the numbers also change. Pls let me know if there is a way to do it. I am sure there is one but I don't know :-)
Thanks
<Response>
<e>1234</e>
<e>5678</e>
<e>12599</e>
<e>4545445</e>
</Response>
I need to read each value and store it in a property/variable so that I can call one by one in my other script. The values are dynamic, next time I run it I may get only 4 values or 20 and the numbers also change. Pls let me know if there is a way to do it. I am sure there is one but I don't know :-)
Thanks