Hello experts.
I have an XML document which has a structure something like in the picture.
![bn051m6whyjy.png]()
Lets assume I have two tables: Table1 and Table2.
I need to insert record from <Data> to Table 1 and from <DataChild> to Table 2.
I need to go through all <DataChild> nodes and insert data from them to designated fields in Table 2, in other words,
create new record for each occurence of <DataChild>.
How can this be done using DotNet in NAV?
THANK YOU![:) :)]()
I have an XML document which has a structure something like in the picture.

Lets assume I have two tables: Table1 and Table2.
I need to insert record from <Data> to Table 1 and from <DataChild> to Table 2.
I need to go through all <DataChild> nodes and insert data from them to designated fields in Table 2, in other words,
create new record for each occurence of <DataChild>.
How can this be done using DotNet in NAV?
THANK YOU
