{"id":755,"date":"2016-08-30T22:42:05","date_gmt":"2016-08-30T22:42:05","guid":{"rendered":"http:\/\/zappysys.com\/blog\/?p=755"},"modified":"2017-11-13T14:11:35","modified_gmt":"2017-11-13T14:11:35","slug":"ssis-import-xml-file-sql-server-parse-xml","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/","title":{"rendered":"How to import XML into SQL Server using SSIS"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-parser-transform.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-2122\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-parser-transform.png\" alt=\"\" width=\"90\" height=\"90\" \/><\/a>In this post you will learn how to import XML file into target such as SQL Server, CSV, Excel, Oracle. Converting or Importing XML\u00a0requires flattening XML structure (i.e. hierarchy) sometimes we refer this process as de-normalization.\u00a0\u00a0Parsing XML can be tricky depending on how many levels you have and from which level you need data. If you want to <a href=\"\/\/zappysys.com\/blog\/tutorial-create-xml-in-ssis-export-xml-file-output\/\" target=\"_blank\" rel=\"noopener\">export XML rather than Import then check this article<\/a>.<\/p>\n<p>This article assumes you have installed <a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #248cc8;\">SSIS PowerPack<\/span><\/a> and watched introduction videos of <a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-source\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #248cc8;\">SSIS XML Source Connector<\/span><\/a>\u00a0and\u00a0<a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-parser-transform\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #248cc8;\">SSIS\u00a0XML Parser Transform<\/span><\/a><\/p>\n<h2>Import XML File using\u00a0SSIS XML Source<\/h2>\n<p>ZappySys <a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-source\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #248cc8;\">SSIS XML Source <\/span><\/a>is a very powerful component. It supports not only reading from file but also reading from Direct XML String or <a href=\"https:\/\/zappysys.com\/blog\/calling-soap-web-service-in-ssis-xml-source\/\" target=\"_blank\" rel=\"noopener\">REST API \/ SOAP Web Service.<\/a><\/p>\n<h3>How ZappySys XML Source parse\/output data<\/h3>\n<p><a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-source\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #248cc8;\">XML Source<\/span><\/a>\u00a0created by ZappySys is very different than what Microsoft provides out the box because ZappySys component outputs one flat view of nested XML document (de-normalized) compared to many outputs what Microsoft XML Source produces which is hard to manage and join based on relation with parent node.<\/p>\n<p>With ZappySys XML component you don&#8217;t have to worry about joins because by default parent columns included along with hierarchy you extracted (e.g. If you extract $.Customer.Orders[*].OrderDetails[*] then you get all columns listed under &lt;Order&gt; and &lt;Customer&gt; nodes)<\/p>\n<div style=\"width: 716px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-source\/ssis-xml-source-data-from-path-or-web-url-variable.png\" alt=\"SSIS XML Source - Variable Mode - Call Web API or Read from File\" width=\"706\" height=\"461\" \/><p class=\"wp-caption-text\">ZappySys XML Source (Read XML Files, Consume REST API, SOPA Web Service)<\/p><\/div>\n<h3>Importing single or multiple XML Files<\/h3>\n<p>To import single files specify full XML file path<\/p>\n<p>Example:\u00a0 c:\\ssis\\<strong>File_001.xml<\/strong><\/p>\n<p>To import multiple files using XML source use wildcard pattern<\/p>\n<p>Example:\u00a0 c:\\ssis\\<strong>File_*.xml<\/strong><\/p>\n<div style=\"width: 653px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-source\/ssis-xml-source-read-from-multiple-files.png\" alt=\"SSIS XML Source - Read data from XML files (Single or Multiple files) - Use wildcard pattern in path\" width=\"643\" height=\"230\" \/><p class=\"wp-caption-text\">XML File Source &#8211; Specify File Path with wildcard pattern (Loop multiple files)<\/p><\/div>\n<div style=\"width: 659px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-source\/ssis-xml-source-read-multiple-files-wildcard-pattern.png\" alt=\"SSIS XML Source - Read data from XML files (Single or Multiple files) - Use wildcard pattern in path\" width=\"649\" height=\"318\" \/><p class=\"wp-caption-text\">Importing data from multiple XML files<\/p><\/div>\n<p>&nbsp;<\/p>\n<h3>Using variable to make path dynamic<\/h3>\n<p>You can also use variable placeholders in your path to make it dynamic<\/p>\n<p>Example:\u00a0 c:\\ssis\\<strong>{{User::FileName}}<\/strong>.xml<\/p>\n<h2>Importing data from XML Web Service or REST API<\/h2>\n<p>XML Source supports consuming REST API data or calling XML SOAP Web services. This article doesn&#8217;t include this feature in depth. But refer to learn more about this feature.<\/p>\n<div style=\"width: 714px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"figureimage\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-source\/ssis-xml-source-data-from-web-url.png\" alt=\"SSIS XML Source - Direct Mode - Call REST API web service or read from XML File\" width=\"704\" height=\"595\" \/><p class=\"wp-caption-text\">SSIS XML Source &#8211; Direct Mode &#8211; Call REST API web service or read from XML File<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2>Parse XML string and split into columns using XML Parser Transform<\/h2>\n<div style=\"width: 831px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" title=\"SSIS XML Parser Transform - Parse XML Document, Convert XML to CSV or save to RDBMS (e.g. SQL Server, MySQL)\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-parser-transform\/ssis-xml-parser-transform-convert-xml-to-csv.png\" alt=\"SSIS XML Parser Transform - Parse XMl Document, Convert XML to CSV or save to RDBMS (e.g. SQL Server, MySQL)\" width=\"821\" height=\"643\" \/><p class=\"wp-caption-text\">Parsing XML Data &#8211; XML String into Columns using SSIS XML Parser Transform<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2>Other Settings (XML Source, XML Parser Transform)<\/h2>\n<h3>Preview Data<\/h3>\n<p>All access modes support preview data like below. Change your settings such as Filter expression, Source etc and click preview.<\/p>\n<div style=\"width: 749px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"figureimage\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-source\/ssis-xml-source-data-read-from-direct-string.png\" alt=\"Read XML data in SSIS\" width=\"739\" height=\"586\" \/><p class=\"wp-caption-text\">Preview XML Data<\/p><\/div>\n<h3>Filtering data using expression<\/h3>\n<p>You can filter XML data by specifying simple expressions (e.g. $.store.book[*]) to navigate various parts of XML where you can extract data (See above screenshot).<\/p>\n<p>Things to remember for filter expressions<\/p>\n<ul>\n<li>Expression must start with $ (means root from where parsing will start)<\/li>\n<li>Use dot (.) to separate Hierarchy and use brackets to indicate array []<\/li>\n<li>Use * to indicate all records<\/li>\n<\/ul>\n<h3>Sample XML for examples<\/h3>\n<pre class=\"lang:xhtml decode:true \">&lt;?xml version=\"1.0\"?&gt;\r\n&lt;Root Ver=\"1\"&gt;\r\n  &lt;DocInfo&gt;\r\n    &lt;Author&gt;Bob&lt;\/Author&gt;\r\n    &lt;Date&gt;2015-01-01&lt;\/Date&gt;\r\n    &lt;Location&gt;\r\n      &lt;City&gt;Atlanta&lt;\/City&gt;\r\n      &lt;State&gt;GA&lt;\/State&gt;\r\n    &lt;\/Location&gt;\r\n  &lt;\/DocInfo&gt;\r\n  &lt;Customer CustId=\"1\"&gt;\r\n    &lt;Order OrderId=\"1000\"&gt;\r\n      &lt;OrderDate&gt;2005-02-01T10:00:09&lt;\/OrderDate&gt;\r\n      &lt;Item ProdId=\"101\"&gt;\r\n        &lt;ProdName&gt;Tea&lt;\/ProdName&gt;\r\n      &lt;\/Item&gt;\r\n      &lt;Item ProdId=\"102\"&gt;\r\n        &lt;ProdName&gt;Coffee&lt;\/ProdName&gt;\r\n      &lt;\/Item&gt;\r\n    &lt;\/Order&gt;\r\n    &lt;Order OrderId=\"1001\"&gt;\r\n      &lt;OrderDate&gt;2005-04-01T21:59:20&lt;\/OrderDate&gt;\r\n      &lt;Item ProdId=\"101\"&gt;\r\n        &lt;ProdName&gt;Tea&lt;\/ProdName&gt;\r\n      &lt;\/Item&gt;\r\n      &lt;Item&gt;\r\n        &lt;ProdId&gt;201&lt;\/ProdId&gt;\r\n        &lt;ProdName&gt;Soda&lt;\/ProdName&gt;\r\n      &lt;\/Item&gt;\r\n    &lt;\/Order&gt;\r\n  &lt;\/Customer&gt;\r\n  &lt;Customer CustId=\"2\"&gt;\r\n    &lt;Order OrderId=\"2000\"&gt;\r\n      &lt;OrderDate&gt;2005-02-01T21:59:20&lt;\/OrderDate&gt;\r\n      &lt;Item ProdId=\"301\"&gt;\r\n        &lt;ProdName&gt;Apple&lt;\/ProdName&gt;\r\n      &lt;\/Item&gt;\r\n      &lt;Item ProdId=\"302\"&gt;\r\n        &lt;ProdName&gt;Orange&lt;\/ProdName&gt;\r\n      &lt;\/Item&gt;\r\n    &lt;\/Order&gt;\r\n    &lt;Order OrderId=\"2001\"&gt;\r\n      &lt;OrderDate&gt;2005-01-01T21:59:20&lt;\/OrderDate&gt;\r\n      &lt;Item ProdId=\"201\"&gt;\r\n        &lt;ProdName&gt;Soda&lt;\/ProdName&gt;\r\n      &lt;\/Item&gt;\r\n      &lt;Item ProdId=\"202\"&gt;\r\n        &lt;ProdName&gt;Milk&lt;\/ProdName&gt;\r\n      &lt;\/Item&gt;\r\n    &lt;\/Order&gt;\r\n  &lt;\/Customer&gt;  \r\n&lt;\/Root&gt;<\/pre>\n<h3>Example of filter expression<\/h3>\n<div class=\"su-table su-table-alternate\">\n<table class=\"props\">\n<tbody>\n<tr>\n<th class=\"columnName\">Filter<\/th>\n<th class=\"columnDesc\">Output<\/th>\n<\/tr>\n<tr>\n<td>\n<pre>$<\/pre>\n<\/td>\n<td>Get all records<br \/>\n<img decoding=\"async\" class=\"figureimage\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-source\/ssis-xml-source-output-example-1.png\" alt=\"SSIS XML Source Adpater - XMLPath filter\" \/><\/td>\n<\/tr>\n<tr>\n<td>$.Root.Customer[*]<\/td>\n<td>Get all customers<br \/>\n<img decoding=\"async\" class=\"figureimage\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-source\/ssis-xml-source-output-example-4.png\" alt=\"SSIS XML Source Adpater - XMLPath filter\" \/><\/td>\n<\/tr>\n<tr>\n<td>$.Root.Customer[*].Order[*]<\/td>\n<td>Get all orders for all customers<br \/>\n<img decoding=\"async\" class=\"figureimage\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-source\/ssis-xml-source-output-example-2.png\" alt=\"SSIS XML Source Adpater - XMLPath filter\" \/><\/td>\n<\/tr>\n<tr>\n<td>$.Root.Customer[*].Order[*](Include Parent Columns=True)<\/td>\n<td>Get all orders for all customers (Include Parent Columns option checked)<br \/>\n<img decoding=\"async\" class=\"figureimage\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-source\/ssis-xml-source-output-example-3-with-parent-columns.png\" alt=\"SSIS XML Source Adpater - XMLPath filter\" \/><\/td>\n<\/tr>\n<tr>\n<td>$.Root.Customer[*].@CustId<\/td>\n<td>Get only Customer Id for each customer record<\/td>\n<\/tr>\n<tr>\n<td>$.Root.Customer[*].Order[:1]<\/td>\n<td>Get first order for each customer<\/td>\n<\/tr>\n<tr>\n<td>$.Root.Customer[*].Order[:3]<\/td>\n<td>Get top 3 orders for each customer<\/td>\n<\/tr>\n<tr>\n<td>$.Root.Customer[*].Order[:1]<\/td>\n<td>Get last order of each customer<\/td>\n<\/tr>\n<tr>\n<td>$.Root.Customer[*].Order[0,4]<\/td>\n<td>Get orders starting from first row to fifth row (Zero based index). If you want 5th row to 10th row then use [4,9]<\/td>\n<\/tr>\n<tr>\n<td>$.Root.Customer[*].Order[2]<\/td>\n<td>Get 3rd order for each customer<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3>Defining array elements<\/h3>\n<p>Any hierarchy you extracting with array indicator can be added to array element name list (On Array handling Tab).\u00a0This helps when you only have one row for node specified as array.<\/p>\n<p>For example if your filter expression is $.Customer.Order[*].OrderItem[*] in this case you indicated that you can have one or more Order nodes under Customer and you may have one or more OrderItem nodes under Order\u00a0node. If this is the case then set array handling as below<\/p>\n<div id=\"attachment_763\" style=\"width: 656px\" class=\"wp-caption alignnone\"><a href=\"\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-array-handling.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-763\" class=\"size-full wp-image-763\" src=\"\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-array-handling.png\" alt=\"Handling Rows\/Array Elements (Repeated XML Elements) \" width=\"646\" height=\"231\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-array-handling.png 646w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-array-handling-300x107.png 300w\" sizes=\"(max-width: 646px) 100vw, 646px\" \/><\/a><p id=\"caption-attachment-763\" class=\"wp-caption-text\">Handling Rows\/Array Elements (Repeated XML Elements)<\/p><\/div>\n<h3>Editing Column Metadata (Length and DataType)<\/h3>\n<p>XML Source and XML Parser both detects Datatype\/Length by scanning sample data (Default 300 rows) but sometimes this is not accurate and it may produce invalid metadata. If that&#8217;s the case you can easily change it in Columns tab. Once you edit Length or DataType make sure you <strong>check Lock column (Last column in grid).<\/strong> Once Lock is applied metadata refresh wont affect your changes. You can also add new column manually if its not detected (Lets say your XML is very large and many columns not found in first 300 rows scanned). To add new column\u00a0type in the last grid row or click new icon in the grid toolbar.<\/p>\n<div style=\"width: 660px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/xml-source\/ssis-xml-source-select-output-columns.png\" alt=\"SSIS XML Source - Configure Columns and DataType\" width=\"650\" height=\"499\" \/><p class=\"wp-caption-text\">Edit XML File Source Column Metadata<\/p><\/div>\n<h2>Conclusion<\/h2>\n<p>In this post you have seen how to use \u00a0<a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-source\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #248cc8;\">SSIS XML Source Connector<\/span><\/a>\u00a0and\u00a0<a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-xml-parser-transform\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #248cc8;\">SSIS\u00a0XML Parser Transform<\/span><\/a>\u00a0to extract data from nested XML documents without any coding.<\/p>\n<p><strong>Related to:<\/strong> SSIS Import XML Files |\u00a0SSIS Parse XML data |\u00a0SSIS Extract from XML files |\u00a0Read from XML Files<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this post you will learn how to import XML file into target such as SQL Server, CSV, Excel, Oracle. Converting or Importing XML\u00a0requires flattening XML structure (i.e. hierarchy) sometimes we refer this process as de-normalization.\u00a0\u00a0Parsing XML can be tricky depending on how many levels you have and from which level you need data. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2122,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62],"tags":[12,4,141,140,7],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>How to import XML into SQL Server using SSIS | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"Learn about SSIS Import XML process and parsing nested XML file or string using XML Source Connector and XML Parser Transform to convert XML into Columns\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"How to import XML into SQL Server using SSIS | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"Learn about SSIS Import XML process and parsing nested XML file or string using XML Source Connector and XML Parser Transform to convert XML into Columns\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ZappySys\/\" \/>\r\n<meta property=\"article:published_time\" content=\"2016-08-30T22:42:05+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2017-11-13T14:11:35+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-parser-transform.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"110\" \/>\r\n\t<meta property=\"og:image:height\" content=\"110\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/zappysys\/\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/\",\"url\":\"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/\",\"name\":\"How to import XML into SQL Server using SSIS | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-parser-transform.png\",\"datePublished\":\"2016-08-30T22:42:05+00:00\",\"dateModified\":\"2017-11-13T14:11:35+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\"},\"description\":\"Learn about SSIS Import XML process and parsing nested XML file or string using XML Source Connector and XML Parser Transform to convert XML into Columns\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-parser-transform.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-parser-transform.png\",\"width\":110,\"height\":110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to import XML into SQL Server using SSIS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"sameAs\":[\"http:\/\/www.zappysys.com\/\",\"https:\/\/www.facebook.com\/ZappySys\/\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/\"],\"url\":\"https:\/\/zappysys.com\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to import XML into SQL Server using SSIS | ZappySys Blog","description":"Learn about SSIS Import XML process and parsing nested XML file or string using XML Source Connector and XML Parser Transform to convert XML into Columns","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/","og_locale":"en_US","og_type":"article","og_title":"How to import XML into SQL Server using SSIS | ZappySys Blog","og_description":"Learn about SSIS Import XML process and parsing nested XML file or string using XML Source Connector and XML Parser Transform to convert XML into Columns","og_url":"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/","og_site_name":"ZappySys Blog","article_author":"https:\/\/www.facebook.com\/ZappySys\/","article_published_time":"2016-08-30T22:42:05+00:00","article_modified_time":"2017-11-13T14:11:35+00:00","og_image":[{"width":110,"height":110,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-parser-transform.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/zappysys\/","twitter_misc":{"Written by":"ZappySys","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/","url":"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/","name":"How to import XML into SQL Server using SSIS | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-parser-transform.png","datePublished":"2016-08-30T22:42:05+00:00","dateModified":"2017-11-13T14:11:35+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82"},"description":"Learn about SSIS Import XML process and parsing nested XML file or string using XML Source Connector and XML Parser Transform to convert XML into Columns","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-parser-transform.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2016\/08\/ssis-xml-parser-transform.png","width":110,"height":110},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/ssis-import-xml-file-sql-server-parse-xml\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to import XML into SQL Server using SSIS"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","caption":"ZappySys"},"sameAs":["http:\/\/www.zappysys.com\/","https:\/\/www.facebook.com\/ZappySys\/","https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/"],"url":"https:\/\/zappysys.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/755"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=755"}],"version-history":[{"count":18,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/755\/revisions"}],"predecessor-version":[{"id":2323,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/755\/revisions\/2323"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/2122"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}