Retrieve information in xml

Hi,

i’ve this kind of scenario in xml:

xmlExample.txt (1.2 KB)

I should be able to extract all the values in the “value” tag (A1,B5 in the first case), only for event = “A = Red”. Then below is the list of “value” tags (F2 in the second case), for event = “A = Green”. I could have up to 20 “value” tags and 10 different “event” tags.

Can you help me with this? Thank you

@Singh7633
We have to handle the XML Namespace as more elaborated on it here:
XML Extraction - Handling Namespaces (Tableau, Soap, OASIS types) - Help / Community - UiPath Community Forum

grafik

Unfortunately, the XML was invalid and we tried to do some corrections for the demo case

grafik - out: xDoc
xnsDefault = xDoc.root.name.Namespace

We had prototyped the filtering and extraction:

So it is working and we adapt to more needs or choices