Reading XML soup response with more than 1 namespace

Hello All,
I am working on project now start with call soap API and read specific attribute from response I can read all response but can not read specific attribute my response XML look like below:

I want to read only “value3” attribute only so I tried below but return “Object reference not set to an instance of an object.”
image

and for name space declaration
image

image

image

Thanks in advance :slight_smile:

@mahmoud.zaky
have a look here:

thanks for your reply but i tried to make above solution with no luck as i am still new in uipath and its the first time to handle XML

No Problem, just share with us a sample xml as text and we will help you based on this

1 Like

Thank you for your patience and kindly find below txt file contains sample XML
test.xml (435 Bytes)

@mahmoud.zaky
find starter help (show casing dedicated access and loop over the result element) here:
XMLDemo.xaml (6.7 KB)

in case of retrieval issues following trick helps to find out the needed things:
grafik

xDoc.Root.Descendants()(X).Name - play with X=index and find out the needed namespace for a particular element

1 Like

really thanks for your support working fine :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.