<?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 - part without loop and part with loop in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378172#M139983</link>
    <description>&lt;P&gt;write the first line to a new file, then append the second line to existing file, finally, append the records in loop tag to the existing file.  The job looks like:&lt;/P&gt;&lt;P&gt;tFileInputXML--main--tHashOutput1(cache all data in memory for used later)&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tHashInput1--tMap--tFileOutputDelimited1&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tHashInput2--tMap--tFileOutputDelimited2 (append the second line to existing file created by tFileOutputDelimited1)&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tHashInput3--tMap--tFileOutputDelimited3 ((append the records in loop tag to existing file created by tFileOutputDelimited1)&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;tHashInput1,2,3: read the required columns from tHashOutput1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
    <pubDate>Sat, 19 Feb 2022 03:08:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-02-19T03:08:07Z</dc:date>
    <item>
      <title>tXMLMap - part without loop and part with loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378169#M139980</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to transform one XML (XML.png)  into a positional file by using some XML tag (without loop -&amp;gt; &amp;lt;Site&amp;gt; and &amp;lt;Orderdetails&amp;gt; before &amp;lt;OrderLine&amp;gt;) and some XML tag within a loop (&amp;lt;OrderLine&amp;gt;). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I'm stuck. I can extract the unloop information I want but I do not know how to get the expected result (ExpectedResult.PNG).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find my tFileInputXML and my tXMLMap in the uploaded files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 10:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378169#M139980</guid>
      <dc:creator>KevSan</dc:creator>
      <dc:date>2022-02-16T10:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap - part without loop and part with loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378170#M139981</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What is the result you are getting now? Can't read data from &amp;lt;site&amp;gt; tag?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong​&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 05:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378170#M139981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-17T05:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap - part without loop and part with loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378171#M139982</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OBfX9AAL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150871i63875CB2F09C59CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OBfX9AAL.png" alt="0695b00000OBfX9AAL.png" /&gt;&lt;/span&gt;This is what I get ... &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Information from Site Tag and OrderDetails Tag are repeated -&amp;gt; but I don't want &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know what I can do for my problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 12:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378171#M139982</guid>
      <dc:creator>KevSan</dc:creator>
      <dc:date>2022-02-17T12:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap - part without loop and part with loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378172#M139983</link>
      <description>&lt;P&gt;write the first line to a new file, then append the second line to existing file, finally, append the records in loop tag to the existing file.  The job looks like:&lt;/P&gt;&lt;P&gt;tFileInputXML--main--tHashOutput1(cache all data in memory for used later)&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tHashInput1--tMap--tFileOutputDelimited1&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tHashInput2--tMap--tFileOutputDelimited2 (append the second line to existing file created by tFileOutputDelimited1)&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tHashInput3--tMap--tFileOutputDelimited3 ((append the records in loop tag to existing file created by tFileOutputDelimited1)&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;tHashInput1,2,3: read the required columns from tHashOutput1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 03:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378172#M139983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-19T03:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: tXMLMap - part without loop and part with loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378173#M139984</link>
      <description>&lt;P&gt;Hi @Shicong Hong​&amp;nbsp;, I understand the principles but unfortunatley tHashOutput is not in my version. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do so ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time !&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 10:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tXMLMap-part-without-loop-and-part-with-loop/m-p/2378173#M139984</guid>
      <dc:creator>KevSan</dc:creator>
      <dc:date>2022-03-01T10:47:04Z</dc:date>
    </item>
  </channel>
</rss>

