04-18-2021 08:47 AM
I have this xml document and try to get the data from this xml document:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<m:CapitalCityResponse xmlns:m="http://www.oorsprong.org/websamples.countryinfo">
<m:CapitalCityResult>Tokyo</m:CapitalCityResult>
</m:CapitalCityResponse>
</soap:Body>
</soap:Envelope>
There is a colon (a punctuation mark) in "Capital City Result".
how do i get the child information
04-18-2021 09:45 AM
I tried using XML Path "//m:CapitalCityResult". Unfortunately I got error while debugging.
How to contruct the XML Path if there is a colon?
04-18-2021 06:43 PM
04-19-2021 02:09 AM
Hi David,
Many thanks for your help.
Now I found the solution. I just modified the XML Path to //*[name()='m:CapitalCityResult']
04-19-2021 06:52 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide