Reading a RSS XML-File with Namespaces

Hey there,

I currently started to earn some UIPath experience.
My first little project is about reading an xml-file (RSS News):
I did not have any problems with the demo-dossier of UIPath, but now I struggle with the specific file format. Unfortunately I have to use namespaces and that’s my point of failing. Even with the solutions I found in this forum, I am not able to get it down.

First line of xml file (without "#)
<#rss xmlns:media=“http://xyz.com” version=“2.0”>

Example_RSS_Sequence

How many and which variables do I need? And how do I use them correctly?
If needed I can upload the xml file and my project. Just let me know.

I would be very happy and thankful for your help!

Best regards,
Flowster

Hi @Flowster

Welcome to our UiPath Forum! :slight_smile:

Could you try this solution:

As well as these ones (each topic here has a solution marked as a solution):
https://forum.uipath.com/search?q=deserialize%20xml%20namespace%20status%3Asolved

Also, feel free to post a snippet of your xml file. I’m sure we could benefit with an example for this particular issue that could be then posted in this thread:

I hope someone will pick it up and prepare one for you and other users in the future :slight_smile:

1 Like

Hi @loginerror

thanks a lot for your answer!
I have the feeling, that I normally should be able to adapt the solution, but honestly I am not…

In the following I have uploaded my files:

  1. Example .xml-File
    Example_RSS_XML_File_Berlin.xml (107.5 KB)
  2. Example project file
    Sequence1.xaml (5.1 KB)

My project is about reading this .xml-File and to extract all nodes called “items”.
I would be very thankful, if somebody would help me.

Best regards,
Flowster