<?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: THMAP output ordering in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369729#M132848</link>
    <description>Please refer to the talend.zip folder</description>
    <pubDate>Tue, 19 Dec 2017 13:12:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-19T13:12:43Z</dc:date>
    <item>
      <title>THMAP output ordering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369726#M132845</link>
      <description>&lt;P&gt;We have a requirement to create a complex xml for which we are using THMAP.&lt;/P&gt; 
&lt;P&gt;In the job we are converting the data to a CSV then from CSV we are creating the xml.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="THMAP.png" style="width: 771px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsFK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132568i1F973FED4C568B63/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsFK.png" alt="0683p000009LsFK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We are having a problem with the sequence.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;expected output - All elements for &lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;set 1&lt;/STRONG&gt; &lt;/FONT&gt;in CSV should come first followed by all elements of &lt;FONT color="#008000"&gt;&lt;STRONG&gt;Set 2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;FEED&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 0&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 2&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 3&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 4&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 5&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 6&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 0&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 2&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 3&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 4&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 5&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 6&amp;gt;&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;\FEED&amp;gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;But THMAP is generating in below fashion&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&amp;lt;FEED&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 0&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 0&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 2&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#008000"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 2&amp;gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 3&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 3&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 4&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" color="#008000"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 4&amp;gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 5&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#008000"&gt; &amp;nbsp; &amp;lt;entry 5&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 6&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entry 6&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&amp;lt;\FEED&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Any suggestion to address the sequencing would be helpful.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369726#M132845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: THMAP output ordering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369727#M132846</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you upload your map and a test input file ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 11:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369727#M132846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-19T11:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: THMAP output ordering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369728#M132847</link>
      <description>&lt;P&gt;Attached is the mapper along with the test data&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 13:11:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369728#M132847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-19T13:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: THMAP output ordering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369729#M132848</link>
      <description>Please refer to the talend.zip folder</description>
      <pubDate>Tue, 19 Dec 2017 13:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369729#M132848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-19T13:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: THMAP output ordering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369730#M132849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to which input field to you want to sort your output ?&amp;nbsp;id2 ? Index line number ? Other ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 16:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369730#M132849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-19T16:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: THMAP output ordering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369731#M132850</link>
      <description>Preference is to have the entries appear in the same sequence as they appear in csv.&lt;BR /&gt;ID2 would be the 2nd choice.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Satyakam</description>
      <pubDate>Tue, 19 Dec 2017 18:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369731#M132850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-19T18:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: THMAP output ordering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369732#M132851</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is a suggestion:&lt;/P&gt; 
&lt;P&gt;1- Add an index in your input file:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 574px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsK0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139449i0B24F0785FA0F0DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsK0.png" alt="0683p000009LsK0.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;2-Map it to your XML output (For every entry records)&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrvE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139475i6BFDAA31F2583819/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrvE.png" alt="0683p000009LrvE.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;3-Create a second map from XML to XML format that will sort your "Entry" records (Don't map the index field if you don't want it in the output):&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lrv1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134220i98328555643ECDE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lrv1.png" alt="0683p000009Lrv1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;4-Then call this second map from your first map. To do that, right click on your map and choose 'properties' then enter your second map name in "next map" field&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 695px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsK1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128831i6D7E64E1CC039F67/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsK1.png" alt="0683p000009LsK1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Does it meet your requirements ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Eric&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 08:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369732#M132851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-20T08:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: THMAP output ordering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369733#M132852</link>
      <description>&lt;P&gt;Hi Eric - sorry was out sick.&lt;/P&gt;&lt;P&gt;Will try your suggested solution and let you know the out come. Thanks for your help&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 05:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369733#M132852</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-12T05:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: THMAP output ordering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369734#M132853</link>
      <description>&lt;P&gt;Thanks Eric. It worked for me.&lt;/P&gt;&lt;P&gt;Final Resolution : MAP1(having CSV to XML) --&amp;gt; MAP2 (XML to XML) Sort Applied on MAP2 --&amp;gt; File written to drive&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 13:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369734#M132853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-16T13:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: THMAP output ordering</title>
      <link>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369735#M132854</link>
      <description>Where is the zip file?</description>
      <pubDate>Fri, 18 Oct 2019 23:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/THMAP-output-ordering/m-p/2369735#M132854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-18T23:47:41Z</dc:date>
    </item>
  </channel>
</rss>

