I've a big xml file from ICECAT. And I want take only some informations. It's in the following of this subject how transform xml document with xslt to duplicate output lines according to the child node
I've in Database a table of language. And I want with xslt filter child elements <Name>
depending of my table content.
I'm in SSIS project.
1/I create a variable named Filter and a Foreach ADO Enumerator putting enuration in variable IdLang
2/ Use a expression task with this expression :
@[User::Filter]=( LEN( @[User::Filter] ) ==0 ? "@langid=" + (DT_WSTR, 2) @[User::IdLang] : @[User::Filter] + " or @langid=" + (DT_WSTR, 2)@[User::IdLang] )
3/ In old subject, I've an xslt file, what I put in a variable named "xslt":
4/ ANd finally I use script task
I Hope It can helping someone.