I am trying to grab the values of two tags with the same. See XML structure similar below:
<Data Set> <Value>1</Value> <Value>2</Value> </Data Set>
This XML Structure comes from context
Thanks for your help
What tool are you using to retrieve the values? XML databank?
Have you tried using xpath: /DataSet/Value/text()
Thank you for your suggestion. Another one would be these values are sometimes present sometimes not or sometimes there's only one how do we go about with that?
There is a great example on how to handle repeated elements with missing values in the SOAtest userguide:
The example can also be found in the help content within the tool. Try it out and let me know if you have any questions
Thanks @OmarR will try this and let you know.
How would we extract these values using Java?