XML deserialisation not working

I am trying to deserialize xml :

<?xml version="1.0" encoding="utf-8"?>
<UniversalResponse version="1.1" xmlns="http://test/11">
  <Status>PRS</Status>
  <Data>
</Data>
</UniversalResponse>

I deserialised the xml string to ‘xml_Document’ XMLDocument object.
But xml_Document.Element(“UniversalResponse”).ToString is giving null value.

Please help.

Attached sample xml file and uipath workflow
deserialise.xaml (5.6 KB)

You need to handle the XML Namespace as described here:

Your Case specifics:
grafik

1 Like

Thank you so much.
It worked.

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