<?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 Loading XML files to PostgreSQL database using Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Loading-XML-files-to-PostgreSQL-database-using-Talend/m-p/2328456#M97739</link>
    <description>Hi 
&lt;BR /&gt;We had&amp;nbsp;of XML files that we loaded into our database, but each file only has 1 row in the table, where as each file has several rows. I believe this is because it is only recording the first entry for a node, and not all of the remaining entries. In the code example below, you will see that for Invoice items, there is 2 items in the code, but Talend is only picking up the first item, before being loaded into the database. Is there a way that the other items in the node that belong to the same tag can be imported into the database? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Killian 
&lt;BR /&gt; 
&lt;PRE&gt;-&amp;lt;InvoiceItems&amp;gt;&lt;BR /&gt;&amp;nbsp;-&amp;lt;Item&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Description&amp;gt;ABC&amp;lt;/Description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Type&amp;gt;X-Ray&amp;lt;/Type&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;AmountExVAT&amp;gt;35.00&amp;lt;/AmountExVAT&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;InvoiceNumber/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Date&amp;gt;2007-04-15&amp;lt;/Date&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/Item&amp;gt;&lt;BR /&gt;&amp;nbsp;-&amp;lt;Item&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Description&amp;gt;XYZ&amp;lt;/Description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Type&amp;gt;Medication&amp;lt;/Type&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;AmountExVAT&amp;gt;65.00&amp;lt;/AmountExVAT&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;InvoiceNumber/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Date&amp;gt;2007-04-15&amp;lt;/Date&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/Item&amp;gt;&lt;BR /&gt;&amp;lt;/InvoiceItems&amp;gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 23 Jul 2015 16:10:05 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2015-07-23T16:10:05Z</dc:date>
    <item>
      <title>Loading XML files to PostgreSQL database using Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loading-XML-files-to-PostgreSQL-database-using-Talend/m-p/2328456#M97739</link>
      <description>Hi 
&lt;BR /&gt;We had&amp;nbsp;of XML files that we loaded into our database, but each file only has 1 row in the table, where as each file has several rows. I believe this is because it is only recording the first entry for a node, and not all of the remaining entries. In the code example below, you will see that for Invoice items, there is 2 items in the code, but Talend is only picking up the first item, before being loaded into the database. Is there a way that the other items in the node that belong to the same tag can be imported into the database? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Killian 
&lt;BR /&gt; 
&lt;PRE&gt;-&amp;lt;InvoiceItems&amp;gt;&lt;BR /&gt;&amp;nbsp;-&amp;lt;Item&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Description&amp;gt;ABC&amp;lt;/Description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Type&amp;gt;X-Ray&amp;lt;/Type&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;AmountExVAT&amp;gt;35.00&amp;lt;/AmountExVAT&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;InvoiceNumber/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Date&amp;gt;2007-04-15&amp;lt;/Date&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/Item&amp;gt;&lt;BR /&gt;&amp;nbsp;-&amp;lt;Item&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Description&amp;gt;XYZ&amp;lt;/Description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Type&amp;gt;Medication&amp;lt;/Type&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;AmountExVAT&amp;gt;65.00&amp;lt;/AmountExVAT&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;InvoiceNumber/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;Date&amp;gt;2007-04-15&amp;lt;/Date&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/Item&amp;gt;&lt;BR /&gt;&amp;lt;/InvoiceItems&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Jul 2015 16:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loading-XML-files-to-PostgreSQL-database-using-Talend/m-p/2328456#M97739</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-07-23T16:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loading XML files to PostgreSQL database using Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loading-XML-files-to-PostgreSQL-database-using-Talend/m-p/2328457#M97740</link>
      <description>Hi,&lt;BR /&gt;Could you please check a component&amp;nbsp;&lt;A href="https://help.talend.com/search/all?query=tFileInputMSXML&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tFileInputMSXML&lt;/A&gt;&amp;nbsp;which&amp;nbsp;reads and outputs multiple schema within an XML structured file?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 31 Jul 2015 10:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loading-XML-files-to-PostgreSQL-database-using-Talend/m-p/2328457#M97740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T10:00:04Z</dc:date>
    </item>
  </channel>
</rss>

