I have bunch of XML files that I wanted to transformed them (using XSLT operations) in SSIS (SQL Server 2014). I have created my xsl and can transform the files one by one to the format that I want. Trouble is I can't work out how to transform and move the files at once.
Up until now, I have tried a Foreach Loop Container, XML TASK and a File System Task to do the job ( off course with no luck). I have created a variable for the filenames.
Have configured the Foreach Loop Container as below:
Foreach File Enumerator for the Enumerator in the Enumerator (Collection tab)
Set the destination directory
Mapped the FileName variable
Configured the XML Task as below:
Source ==> the first file from the source folder
Destination ==> FileName variable
SecondOperandType ==> XSL file
I'm not sure what to do next:
to read the files from the source directory
transform the files one by one
move the transformed files into the destination folder
I would be really thankful if someone please help and point me to the right direction.