<?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 Generating XML with 2 independant loops in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Generating-XML-with-2-independant-loops/m-p/2284093#M57863</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A XML document have to be created with 2 &lt;STRONG&gt;distinct&lt;/STRONG&gt; loops.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;RESERVED_MATERIAL&lt;/LI&gt;&lt;LI&gt;BY_PRODUCT&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I use a tXMLMap with 2 input links&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;main: aggPO-&amp;gt;BY-PRODUCT&lt;/LI&gt;&lt;LI&gt;lookup : stock-&amp;gt;RESERVED_MATERIALS&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But it generates a cartesian product.&lt;/P&gt;&lt;P&gt;I a have enclosed the result wanted, and the job created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you give me some ideas on how to make two loops please?&lt;/P&gt;&lt;P&gt;Does DataMapper + tHMap would be adapted?&lt;/P&gt;&lt;P&gt;Should I generate the XML in two steps, one for each loop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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 02:46:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T02:46:41Z</dc:date>
    <item>
      <title>Generating XML with 2 independant loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generating-XML-with-2-independant-loops/m-p/2284093#M57863</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A XML document have to be created with 2 &lt;STRONG&gt;distinct&lt;/STRONG&gt; loops.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;RESERVED_MATERIAL&lt;/LI&gt;&lt;LI&gt;BY_PRODUCT&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I use a tXMLMap with 2 input links&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;main: aggPO-&amp;gt;BY-PRODUCT&lt;/LI&gt;&lt;LI&gt;lookup : stock-&amp;gt;RESERVED_MATERIALS&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But it generates a cartesian product.&lt;/P&gt;&lt;P&gt;I a have enclosed the result wanted, and the job created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you give me some ideas on how to make two loops please?&lt;/P&gt;&lt;P&gt;Does DataMapper + tHMap would be adapted?&lt;/P&gt;&lt;P&gt;Should I generate the XML in two steps, one for each loop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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 02:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generating-XML-with-2-independant-loops/m-p/2284093#M57863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:46:41Z</dc:date>
    </item>
  </channel>
</rss>

