This Video Tutorial illustrates how to use Nodelist enumerator to loop through an XML content with Foreach Loop structure.
Nodelist
uses XPath query language for interating through nodes, elements,
attributes of an xml content, that might come from file, variable, or
static string.
In this sample we call a web service to select
name of all teams played in Football worldcup 2010 (reference for this
web service is www.xmethods.net). Then through the Foreach loop
container, which choosing Nodelist enumerator with ElementCollection, we
loops through each team information with OuterXPath, and then fetch
name based on the InnerXPath, and load it into the TeamName variable.
The
TeamName variable then will be used as an input parameter for the
second web service to fetch the full details of each name into xml file
named based on the team, such as Brazil.xml.
To view this tutorial follow link below:
https://radacad.com/ShowVideo.aspx?cpid=17&vid=8
To view other SSIS 2012 Tutorial Videos follow this link:
https://radacad.com/CoursePlan.aspx?course=1
Trainer, Consultant, Mentor
Reza Rad is a Microsoft Regional Director, an Author, Trainer, Speaker and Consultant. He has a BSc in Computer engineering; he has more than 20 years’ experience in data analysis, BI, databases, programming, and development mostly on Microsoft technologies. He is a Microsoft Data Platform MVP for 12 continuous years (from 2011 till now) for his dedication in Microsoft BI. Reza is an active blogger and co-founder of RADACAD. Reza is also co-founder and co-organizer of Difinity conference in New Zealand, Power BI Summit, and Data Insight Summit.
Reza is author of more than 14 books on Microsoft Business Intelligence, most of these books are published under Power BI category. Among these are books such as Power BI DAX Simplified, Pro Power BI Architecture, Power BI from Rookie to Rock Star, Power Query books series, Row-Level Security in Power BI and etc.
He is an International Speaker in Microsoft Ignite, Microsoft Business Applications Summit, Data Insight Summit, PASS Summit, SQL Saturday and SQL user groups. And He is a Microsoft Certified Trainer.
Reza’s passion is to help you find the best data solution, he is Data enthusiast.
His articles on different aspects of technologies, especially on MS BI, can be found on his blog: https://radacad.com/blog.