<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Extracting data from XML file to MS SQL server in form of table. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285827#M59449</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;I'm new to talend and have been trying to transfer the xml data (attached file) to MS Sql.&lt;/P&gt; 
&lt;P&gt;After using the "tFileinputXml", "tmap_xml" and "tDBouput" component only one row of the file was transferred.&lt;/P&gt; 
&lt;P&gt;Please guide me to populate multiple rows iteratively else guide me on converting the xml file to excel file.&lt;/P&gt; 
&lt;P&gt;Thanks in advance &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The tags in the files are columns while the string between tags is the data to be transferred as rows.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 08:06:50 GMT</pubDate>
    <dc:creator>dataleadge</dc:creator>
    <dc:date>2019-08-13T08:06:50Z</dc:date>
    <item>
      <title>Extracting data from XML file to MS SQL server in form of table.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285827#M59449</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;I'm new to talend and have been trying to transfer the xml data (attached file) to MS Sql.&lt;/P&gt; 
&lt;P&gt;After using the "tFileinputXml", "tmap_xml" and "tDBouput" component only one row of the file was transferred.&lt;/P&gt; 
&lt;P&gt;Please guide me to populate multiple rows iteratively else guide me on converting the xml file to excel file.&lt;/P&gt; 
&lt;P&gt;Thanks in advance &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The tags in the files are columns while the string between tags is the data to be transferred as rows.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 08:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285827#M59449</guid>
      <dc:creator>dataleadge</dc:creator>
      <dc:date>2019-08-13T08:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from XML file to MS SQL server in form of table.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285828#M59450</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQC0AAO"&gt;@dataleadge&lt;/A&gt;&amp;nbsp;,can you post your job design,since you can check the get nodes in tfileinputxml to get loops.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 12:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285828#M59450</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-08-13T12:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from XML file to MS SQL server in form of table.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285829#M59451</link>
      <description>&lt;P&gt;The XML file structure is not correct - in the sense that the fields&amp;nbsp;VCHCOMPANYNAME,&amp;nbsp;VCHVCHNUMBER etc.. which are repeating n times are not correctly put inside a loop or to put correctly not inside in nested elements. Hence the first lot in your case first 10 nodes are being captured and interpreted as the only row. You need the nodes to be in correct order - in the format of&amp;nbsp;&lt;SPAN&gt;nested child elements.&lt;BR /&gt;Something like these -&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;root&amp;gt;
  &amp;lt;Participants&amp;gt;
    &amp;lt;Gender&amp;gt;Male&amp;lt;/Gender&amp;gt;
    &amp;lt;Participation&amp;gt;
      &amp;lt;ParticipationType&amp;gt;Open&amp;lt;/ParticipationType&amp;gt;
    &amp;lt;/Participation&amp;gt;
  &amp;lt;/Participants&amp;gt;
  &amp;lt;Participants&amp;gt;
    &amp;lt;Gender&amp;gt;Female&amp;lt;/Gender&amp;gt;
    &amp;lt;Participation&amp;gt;
      &amp;lt;ParticipationType&amp;gt;Closed&amp;lt;/ParticipationType&amp;gt;
    &amp;lt;/Participation&amp;gt;
  &amp;lt;/Participants&amp;gt;
&amp;lt;/root&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 12:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285829#M59451</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2019-08-13T12:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from XML file to MS SQL server in form of table.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285830#M59452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached and shared the job design files.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwYa"&gt;tfileinputxml.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwYk"&gt;tfileinputxml2.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwYu"&gt;Xpath.png&lt;/A&gt;</description>
      <pubDate>Tue, 13 Aug 2019 13:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285830#M59452</guid>
      <dc:creator>dataleadge</dc:creator>
      <dc:date>2019-08-13T13:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from XML file to MS SQL server in form of table.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285831#M59453</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQC0AAO"&gt;@dataleadge&lt;/A&gt;&amp;nbsp;,your loop xpath query is wrong ,please check&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 13:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285831#M59453</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-08-13T13:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from XML file to MS SQL server in form of table.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285832#M59454</link>
      <description>&lt;P&gt;From the sample xml you shared, I think the issue is with xml file, as i don't see any nesting / looping of elements. Just for your better understanding I have added an element &amp;lt;COMPANY&amp;gt; with looping to ur xml ... please look into the below image&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talend_community.PNG" style="width: 763px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7HR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137171iC21846E5321E7E2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7HR.png" alt="0683p000009M7HR.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 15:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285832#M59454</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-08-13T15:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from XML file to MS SQL server in form of table.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285833#M59455</link>
      <description>&lt;P&gt;It worked!!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 07:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285833#M59455</guid>
      <dc:creator>dataleadge</dc:creator>
      <dc:date>2019-08-14T07:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting data from XML file to MS SQL server in form of table.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285834#M59456</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQC0AAO"&gt;@dataleadge&lt;/A&gt;&amp;nbsp;,Please mark the solution the one which is helped you ,so that it would be useful to others.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 10:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-data-from-XML-file-to-MS-SQL-server-in-form-of-table/m-p/2285834#M59456</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-08-14T10:13:30Z</dc:date>
    </item>
  </channel>
</rss>

