<?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 [resolved] Generate n XMLs from CSV with n rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Generate-n-XMLs-from-CSV-with-n-rows/m-p/2310879#M81966</link>
    <description>&lt;P&gt;How can I make a job iterate such that I can generate 1 XML output file per input CSV row? My job is currently as shown:&lt;BR /&gt;&lt;BR /&gt;tFileList --(iterate)-- tFileInputDelimited --(row)-- tXMLMap --(row)-- tFileOutputXML&lt;BR /&gt;&lt;BR /&gt;[list=*]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;tFileList - get all CSVs in source folder&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;tFileInputDelimited - get CSV as input one at a time&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;tXMLMap - transform data into XML mapping&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;tFileOutputXML - generate XML&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Whenever I try to remove the limit inside the tFileInputDelimited (currently limited to 1 row), it only generates 1 XML file with n loops based on the n rows of the CSV. Thus right now, at limit 1, it generates 1 XML file with 1 loop of CSV row data.&lt;BR /&gt;&lt;BR /&gt;EDIT: PROBLEM HAS BEEN SOLVED&lt;BR /&gt;&lt;BR /&gt;Solution was to click the wrench icon at the top right of the xml mapping window, then under "All in one" set it to "false". This was actually the default setting and my workmate changed it to "true" before giving it for me to continue with. Now it generates 1 XML file per CSV row read. Screenshot included.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGuL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147497i951FFEB19B83D7D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGuL.png" alt="0683p000009MGuL.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2015 06:22:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-17T06:22:58Z</dc:date>
    <item>
      <title>[resolved] Generate n XMLs from CSV with n rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Generate-n-XMLs-from-CSV-with-n-rows/m-p/2310879#M81966</link>
      <description>&lt;P&gt;How can I make a job iterate such that I can generate 1 XML output file per input CSV row? My job is currently as shown:&lt;BR /&gt;&lt;BR /&gt;tFileList --(iterate)-- tFileInputDelimited --(row)-- tXMLMap --(row)-- tFileOutputXML&lt;BR /&gt;&lt;BR /&gt;[list=*]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;tFileList - get all CSVs in source folder&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;tFileInputDelimited - get CSV as input one at a time&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;tXMLMap - transform data into XML mapping&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;tFileOutputXML - generate XML&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Whenever I try to remove the limit inside the tFileInputDelimited (currently limited to 1 row), it only generates 1 XML file with n loops based on the n rows of the CSV. Thus right now, at limit 1, it generates 1 XML file with 1 loop of CSV row data.&lt;BR /&gt;&lt;BR /&gt;EDIT: PROBLEM HAS BEEN SOLVED&lt;BR /&gt;&lt;BR /&gt;Solution was to click the wrench icon at the top right of the xml mapping window, then under "All in one" set it to "false". This was actually the default setting and my workmate changed it to "true" before giving it for me to continue with. Now it generates 1 XML file per CSV row read. Screenshot included.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGuL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147497i951FFEB19B83D7D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGuL.png" alt="0683p000009MGuL.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 06:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Generate-n-XMLs-from-CSV-with-n-rows/m-p/2310879#M81966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-17T06:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Generate n XMLs from CSV with n rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Generate-n-XMLs-from-CSV-with-n-rows/m-p/2310880#M81967</link>
      <description>Hi junmilsso,&lt;BR /&gt;We &lt;FONT color="#333333"&gt;&lt;FONT size="1"&gt;&lt;FONT face="&amp;quot;Verdana&amp;quot;,sans-serif"&gt;see this topic has been marked as resolved. Could you please share your solution with us?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;&lt;FONT size="1"&gt;&lt;FONT face="&amp;quot;Verdana&amp;quot;,sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;&lt;FONT size="1"&gt;&lt;FONT face="&amp;quot;Verdana&amp;quot;,sans-serif"&gt;Sabrina&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 18 Nov 2015 04:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Generate-n-XMLs-from-CSV-with-n-rows/m-p/2310880#M81967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-18T04:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Generate n XMLs from CSV with n rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Generate-n-XMLs-from-CSV-with-n-rows/m-p/2310881#M81968</link>
      <description>Hello,
&lt;BR /&gt;
&lt;BR /&gt;Sorry for the lack of update, edited to show solution now.</description>
      <pubDate>Wed, 18 Nov 2015 06:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Generate-n-XMLs-from-CSV-with-n-rows/m-p/2310881#M81968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-18T06:41:48Z</dc:date>
    </item>
  </channel>
</rss>

