<?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 tXMLMap several loops in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-several-loops/m-p/2310116#M81272</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Here is the structure of an input document of a tXMLMap :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AaFAjAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132604i1F06595141D6F048/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AaFAjAAN.png" alt="0693p00000AaFAjAAN.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the structure : return node contains all the data of one person, for 1 return node, the donneesPersonnelles node appears only 1 time, and then listeAdresses, listeAffectations, listeNationalites, listeNumerosMails, listeSpecialites nodes appear several times each.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WHAT I THINK : for a tXMLMap, a loop can be placed for several nodes, but only for one level at a time. I must set the loop first on the return node, to make sure I get all the information for 1 person at a time.&lt;/P&gt;&lt;P&gt;HERE IS A FIRST tXMLMap.&lt;/P&gt;&lt;P&gt;I think that next, I must use a second tXMLMap, after the first where return node is as a loop, to explore other listeXXX nodes as said before, placing each of them as a loop, as they are on the same level.&lt;/P&gt;&lt;P&gt;Is this point of view and method correct, or can I simply set all listXXX nodes as loops from the beginning ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT : When I loop on each listeXXX, I get wrong data. It's like a cartesian product is done between different return nodes..&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 20:24:24 GMT</pubDate>
    <dc:creator>Alpha549</dc:creator>
    <dc:date>2020-12-01T20:24:24Z</dc:date>
    <item>
      <title>tXMLMap several loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-several-loops/m-p/2310116#M81272</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Here is the structure of an input document of a tXMLMap :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AaFAjAAN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132604i1F06595141D6F048/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AaFAjAAN.png" alt="0693p00000AaFAjAAN.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the structure : return node contains all the data of one person, for 1 return node, the donneesPersonnelles node appears only 1 time, and then listeAdresses, listeAffectations, listeNationalites, listeNumerosMails, listeSpecialites nodes appear several times each.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WHAT I THINK : for a tXMLMap, a loop can be placed for several nodes, but only for one level at a time. I must set the loop first on the return node, to make sure I get all the information for 1 person at a time.&lt;/P&gt;&lt;P&gt;HERE IS A FIRST tXMLMap.&lt;/P&gt;&lt;P&gt;I think that next, I must use a second tXMLMap, after the first where return node is as a loop, to explore other listeXXX nodes as said before, placing each of them as a loop, as they are on the same level.&lt;/P&gt;&lt;P&gt;Is this point of view and method correct, or can I simply set all listXXX nodes as loops from the beginning ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT : When I loop on each listeXXX, I get wrong data. It's like a cartesian product is done between different return nodes..&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 20:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-several-loops/m-p/2310116#M81272</guid>
      <dc:creator>Alpha549</dc:creator>
      <dc:date>2020-12-01T20:24:24Z</dc:date>
    </item>
  </channel>
</rss>

