How to get specific information from xml

we tried to get specific informations from a xml-file, but we can’t find out, how to handle that.

We have xml-files like this NW-Bonn_HRB_6794+SI-20230615112958.xml (160,5 KB)

and we need e.g. the information ‘Aktenzeichen’ or the adress in the elements ‘Strasse’, ‘Hausnummer’ etc.

We tried with the solution mentioned here (Reading XML files - Deserialize XML activity) but we get error messages. There are many informations in the first row, do we have to do anything special with them? Or what could be a solution?

Thanks for your help!

you have to handle the XML Namespaces
XML Extraction - Handling Namespaces (Tableau, Soap, OASIS types) - Help / Community - UiPath Community Forum

Based on the info shared with the link

xnsDefault = xDoc.Root.Name.Namespace


Hello @ppr ,

thanks for your help, we are now able toget the informations we need. We had to learn how to use that namespace thing :slight_smile:


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