<?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: Creating XML with nested loop in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Creating-XML-with-nested-loop/m-p/2364862#M128551</link>
    <description>Hi&amp;nbsp; 
&lt;BR /&gt;Check the 'all in one' parameter as true in the setting panel of output table. see 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MH1P.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156626i4048ECD19B55FBE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MH1P.png" alt="0683p000009MH1P.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Fri, 29 Apr 2016 08:25:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-29T08:25:06Z</dc:date>
    <item>
      <title>Creating XML with nested loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-XML-with-nested-loop/m-p/2364861#M128550</link>
      <description>Hi, I want to create xml structure for passing between job with nester loop.&amp;nbsp; 
&lt;BR /&gt;Let's say my first input is: 
&lt;BR /&gt;&amp;lt;functions&amp;gt; 
&lt;BR /&gt;&amp;lt;function ID="bwl"&amp;gt;B01&amp;lt;/function&amp;gt; 
&lt;BR /&gt;&amp;lt;/functions&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;My second input looks like this: 
&lt;BR /&gt;&amp;lt;parameters&amp;gt; 
&lt;BR /&gt;&amp;lt;parameterSet functionRef="B01"&amp;gt; 
&lt;BR /&gt;&amp;lt;parameter name="id"&amp;gt;customer_A&amp;lt;/parameter&amp;gt; 
&lt;BR /&gt;&amp;lt;parameter name="type"&amp;gt;customer&amp;lt;/parameter&amp;gt; 
&lt;BR /&gt;&amp;lt;/parameterSet&amp;gt; 
&lt;BR /&gt;&amp;lt;/parameters&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;I desired output is this: 
&lt;BR /&gt;&amp;lt;function&amp;gt; 
&lt;BR /&gt;&amp;lt;name&amp;gt;bwl&amp;lt;/name&amp;gt; 
&lt;BR /&gt;&amp;lt;ref&amp;gt;B01&amp;lt;/ref&amp;gt; 
&lt;BR /&gt;&amp;lt;parameters&amp;gt; 
&lt;BR /&gt;&amp;lt;parameter name="id"&amp;gt;customer_A&amp;lt;/parameter&amp;gt; 
&lt;BR /&gt;&amp;lt;parameter name="type"&amp;gt;customer&amp;lt;/parameter&amp;gt; 
&lt;BR /&gt;&amp;lt;/parameters&amp;gt; 
&lt;BR /&gt;&amp;lt;/function&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;The problem I have is with the &amp;lt;parameter&amp;gt; nodes. When I am trying to create nested loop for &amp;lt;parameter&amp;gt;, output is still 2x xml files with just one &amp;lt;parameter&amp;gt;, first one contains just &amp;lt;parameter name="id"&amp;gt;customer_A&amp;lt;/parameter&amp;gt;, second one &amp;lt;parameter name="type"&amp;gt;customer&amp;lt;/parameter&amp;gt;. 
&lt;BR /&gt; 
&lt;BR /&gt;See screenshot to see my tXmlMap. I would appreciate any help. Thank you. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/365863/Untitled.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MH9O.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148736iE77A040F3759D47E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MH9O.png" alt="0683p000009MH9O.png" /&gt;&lt;/span&gt; &lt;/A&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-XML-with-nested-loop/m-p/2364861#M128550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating XML with nested loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-XML-with-nested-loop/m-p/2364862#M128551</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;Check the 'all in one' parameter as true in the setting panel of output table. see 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MH1P.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156626i4048ECD19B55FBE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MH1P.png" alt="0683p000009MH1P.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 29 Apr 2016 08:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-XML-with-nested-loop/m-p/2364862#M128551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-29T08:25:06Z</dc:date>
    </item>
  </channel>
</rss>

