Get the second element of a repeted XML tag

Hello there :slight_smile:

I have a problem with getting an element of an XML file using XPath.

As you can see on that example below, I have multiple XML tags with the same name, and I would like to get the value of the second one (Value2).

I found how to do it with a “For Each” on the “RmtInf” tag, but with that I have to create a list of elements and get the second one.

Do you have other easier and quicker solutions ?

Thank you in advance and have a good day.


give a try on


With XPath:

Ensure System.XML.XPath is imported to the namespaces

Maybe additional structure details are to use for the retrieval definition, but depends on details