How Retrieve XML Child Node

Hello friends,

I am reading an XML, I am able to read that, But when I traverse in for each loop, I always got first-child details,

how to handle item object, I am a little confused about that

Portal = objAllXMLData.Element(“NewDataSet”).Element(“Table”).Element(“PortalName”).Value

I have used in assign activity

I want to fetch the details from item , item has correct details

Could you please guide
in second loop item has array result
image

MyXML.txt (343 Bytes)

Hi,

How about the following?

Sample20220513-3.zip (2.7 KB)

Regards,

1 Like

lets assume table is the root element
Reduced test sample:
grafik

Get all direct children:
grafik

Get all children and grand children (we dont have)
grafik

Working with a XPAth
grafik

Or
grafik

1 Like