<?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: txmlmap loop with 0 elements in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/txmlmap-loop-with-0-elements/m-p/2343095#M110890</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;That does not help. It controls the output not the loop row generator.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jun 2021 06:43:07 GMT</pubDate>
    <dc:creator>KKrzak1612860338</dc:creator>
    <dc:date>2021-06-02T06:43:07Z</dc:date>
    <item>
      <title>txmlmap loop with 0 elements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlmap-loop-with-0-elements/m-p/2343093#M110888</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've searched around but could not find the answer.&lt;/P&gt;&lt;P&gt;I have an XML structure shown on attachment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000F6jQBAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128351i27B07346C1486325/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000F6jQBAAZ.png" alt="0695b00000F6jQBAAZ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The issue is when the repeatable items are not returned, then the document does not get created at all (as loop is kind of a row generator in Talend).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to generate the document without the repeatable items ? THMap ? Split the document and then combine after mapping ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far I have a tExtractXML connected to tJavaFlex to count elements and two "Run if" triggers (for count == 0 and count &amp;gt; 0). That seems really complex and unnecessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karol&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlmap-loop-with-0-elements/m-p/2343093#M110888</guid>
      <dc:creator>KKrzak1612860338</dc:creator>
      <dc:date>2024-11-16T00:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: txmlmap loop with 0 elements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlmap-loop-with-0-elements/m-p/2343094#M110889</link>
      <description>&lt;P&gt;Hi, have you try to set create empty element to true in the output of the tXmlMap?&lt;/P&gt;&lt;P&gt;Send me Love and Kudos.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 15:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlmap-loop-with-0-elements/m-p/2343094#M110889</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-05-13T15:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: txmlmap loop with 0 elements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlmap-loop-with-0-elements/m-p/2343095#M110890</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;That does not help. It controls the output not the loop row generator.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 06:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlmap-loop-with-0-elements/m-p/2343095#M110890</guid>
      <dc:creator>KKrzak1612860338</dc:creator>
      <dc:date>2021-06-02T06:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: txmlmap loop with 0 elements</title>
      <link>https://community.qlik.com/t5/Talend-Studio/txmlmap-loop-with-0-elements/m-p/2343096#M110891</link>
      <description>&lt;P&gt;Hi can you try loop optional instead of loop in the xmlmap input ?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 07:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/txmlmap-loop-with-0-elements/m-p/2343096#M110891</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-06-02T07:40:06Z</dc:date>
    </item>
  </channel>
</rss>

