Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

XML For Each Node, multiple Elements but no relationships to additional nodes

$
0
0

Good day,

I have to import xml files, i used xml task when simple xml file with one element

but now i have a file that has repeating elements (8000 is header and 8001 is additonal data of 8000)

but when i have 2 8000 & 8001 i dont know how to link them

example

<8000><test1>1</test></8000>

<8001><test2>A></test2></8001>

Then new record

<8000><test1>1</test></8000>

<8001><test2>B></test2></8001>

1. I dont know how to link them to create 1 record

2. how to i import this file, i looked at for each node but not winning

Any ideas?

Regards


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>