<?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 How to replace variable in file looping another's file values in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-variable-in-file-looping-another-s-file-values/m-p/2333972#M102702</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an xml file where I have 2 variables set in the nodes (address and name). I get the name variable from a csv file that contains 500 rows. The goal is to obtain 500 xml in output, each one with a different name value:&lt;/P&gt;&lt;P&gt;tInputFileDelimited_1 --&amp;gt; tFlowToIterate_1 --&amp;gt; tFixedFlowInput_1 --&amp;gt; tMap_1 --&amp;gt; tFileOutputRaw_1&lt;/P&gt;&lt;P&gt;Î&lt;/P&gt;&lt;P&gt;tFileInputRaw_1&lt;/P&gt;&lt;P&gt;Then, the address file contains only 4 rows. I want to take in input the processed file (tFileOutputRaw_1) and change the address variable with a value from the new csv file, that contains only 4 lines, so I will have to find a method to do this, but at the moment, I didn't find a solution.&lt;/P&gt;&lt;P&gt;Could you assist me with this? The goal is to produce 500 xmls.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:21:07 GMT</pubDate>
    <dc:creator>spr654</dc:creator>
    <dc:date>2024-11-16T00:21:07Z</dc:date>
    <item>
      <title>How to replace variable in file looping another's file values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-variable-in-file-looping-another-s-file-values/m-p/2333972#M102702</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an xml file where I have 2 variables set in the nodes (address and name). I get the name variable from a csv file that contains 500 rows. The goal is to obtain 500 xml in output, each one with a different name value:&lt;/P&gt;&lt;P&gt;tInputFileDelimited_1 --&amp;gt; tFlowToIterate_1 --&amp;gt; tFixedFlowInput_1 --&amp;gt; tMap_1 --&amp;gt; tFileOutputRaw_1&lt;/P&gt;&lt;P&gt;Î&lt;/P&gt;&lt;P&gt;tFileInputRaw_1&lt;/P&gt;&lt;P&gt;Then, the address file contains only 4 rows. I want to take in input the processed file (tFileOutputRaw_1) and change the address variable with a value from the new csv file, that contains only 4 lines, so I will have to find a method to do this, but at the moment, I didn't find a solution.&lt;/P&gt;&lt;P&gt;Could you assist me with this? The goal is to produce 500 xmls.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-variable-in-file-looping-another-s-file-values/m-p/2333972#M102702</guid>
      <dc:creator>spr654</dc:creator>
      <dc:date>2024-11-16T00:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace variable in file looping another's file values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-variable-in-file-looping-another-s-file-values/m-p/2333973#M102703</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without see what the tMap is doing, I'd guess that you need to move the tFlowToIterate &amp;amp; tFixedFlowInput to AFTER the tMap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When a flow starts, the filename you're going to output to is evaluated, so if you want 500 files, you need 600 flow to iterates fired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 14:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-variable-in-file-looping-another-s-file-values/m-p/2333973#M102703</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2021-03-30T14:46:13Z</dc:date>
    </item>
  </channel>
</rss>

