Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS ETL Import XML Nodes

$
0
0

Hi ,

I am trying to generate a SQL table by importing XML file using ETL package.  I am having trouble selecting multiple nodes, the XML file structure is

<data>

<users>
    <Name></Name>
    <SamAccountName></SamAccountName>
    <Enabled></Enabled>
    <HomePath>
      <Exists></Exists>
      <Location></Location>
    </HomePath>
    <ProfilePath>
      <Exists></Exists>
      <Location></Location>
    </ProfilePath>

</users>
</data>

Under XML Source I successfully created the XSD file and selected OLE DB Destination and created the table successfully. During mapping I selectedUsers node, but the mapping doesn't select all the subnodes ( eg: homepath is missing ) and considered as separate column) . As in theory if I select root node all the child node should get selected.

I am new to SSIS / ETL so I might have missed things.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>