I have very simple XML source and OLE DB Source in Foreach Loop Container,
but seem to get error, because XML Source cannot find the XML.
"Error at Data Flow Task. The property XMLDataVariable on the XML Source was empty"
Variables:
FileExtention = *.xml
FilePath =
FolderPath = C:\Customer\XML
XML Source:
Data Access mode = XML file from variable
Variable name = User::filePath
Foreach Loop Container:
Enumerator = Foreach File Enumerator
Expression-Directory = @User:FolderPath
Expression-FileSpec = @User::FileExtension
Enumerator Folder = C:\Customer\XML
Files = *.xml
Variable mapping-User::FilePath = 0