I am trying to loop through the XML elements of an XML input file in SSIS. For this I am trying to use a 'Foreach Loop Container' with a Foreach Loop Container. Inside the ForEach Loop Container, I'd like to get the xml code as a String Variable.
I am fairly new to SSIS, and have been browsing the web for quite some time, yet could not get it right..
Input file example;
(Note that there are some cyrillic symbols in there, which may cause issues. However, when I take out the cyrillic symbols, the same error message shows).
I am trying to loop through the nodes.
This is the package I have created so far;
Below the ForEach loop;
I have a variable called 'CurrencyRate' which is a String mapped there.
And the XML Task inside the loop. This is just for testing purposes, it should write the last node element to that output file, with tags and values.
However, if I run the code as it is, I get the below error message, even though I do not see any NULL values in my data. And I have no idea where the japanese(?) symbol comes from..;
Any help would be greatly appreciated! SSIS looks like a powerful tool and I would love to be able to be able to wield it.