<?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 Re: Load XML file into MySql : Only Get One Row in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-into-MySql-Only-Get-One-Row/m-p/2232622#M22527</link>
    <description>&lt;P&gt;RoParizot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you say multiple records, i assume you are talking about&amp;nbsp;&amp;lt;votant&amp;gt; (as an example), not sure what your job design is and how you are carrying forward the xml data elements, if you are using tXMLMap, then you have to set ' asloop element' for each of the nodes that you want to iterate/loop(refer to #1 in the attached pic), accordingly in your output table in the tXMLMap you&amp;nbsp;can add the 'set loop function' (refer to #2 in the attached pic) and that will do the magic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope the attached pic helps you better...&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LxJx"&gt;xml iteration.png&lt;/A&gt;</description>
    <pubDate>Sat, 28 Dec 2019 03:47:50 GMT</pubDate>
    <dc:creator>tnewbie</dc:creator>
    <dc:date>2019-12-28T03:47:50Z</dc:date>
    <item>
      <title>Load XML file into MySql : Only Get One Row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-into-MySql-Only-Get-One-Row/m-p/2232621#M22526</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt; 
&lt;P&gt;Here's the thing, i have those 2000 XML files to put in my db.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It's running perfectly (thanks to this community's forum) except for one thing : i only get the first row of each file.&lt;/P&gt; 
&lt;P&gt;I saw someone having a similar problem on this forum and the answer was that his file wasn't clearly structured.&lt;/P&gt; 
&lt;P&gt;Is it the same thing with mine ?&lt;/P&gt; 
&lt;P&gt;And if yes, do you have a solution that doesn't imply me modifying each of the 2000 files manually ?&lt;/P&gt; 
&lt;P&gt;Can someone have a look and help me please ?&lt;/P&gt; 
&lt;P&gt;Thank you.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-into-MySql-Only-Get-One-Row/m-p/2232621#M22526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Load XML file into MySql : Only Get One Row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-into-MySql-Only-Get-One-Row/m-p/2232622#M22527</link>
      <description>&lt;P&gt;RoParizot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you say multiple records, i assume you are talking about&amp;nbsp;&amp;lt;votant&amp;gt; (as an example), not sure what your job design is and how you are carrying forward the xml data elements, if you are using tXMLMap, then you have to set ' asloop element' for each of the nodes that you want to iterate/loop(refer to #1 in the attached pic), accordingly in your output table in the tXMLMap you&amp;nbsp;can add the 'set loop function' (refer to #2 in the attached pic) and that will do the magic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope the attached pic helps you better...&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LxJx"&gt;xml iteration.png&lt;/A&gt;</description>
      <pubDate>Sat, 28 Dec 2019 03:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-XML-file-into-MySql-Only-Get-One-Row/m-p/2232622#M22527</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-12-28T03:47:50Z</dc:date>
    </item>
  </channel>
</rss>

