<?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 Without using Data Mapper (tHmap),  how do I integrate 5 nested XML files into 1 nested XML file with multiple loops and groups in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Without-using-Data-Mapper-tHmap-how-do-I-integrate-5-nested-XML/m-p/2284769#M58397</link>
    <description>&lt;P&gt;I use open source version of Talend Open Studio, and I am trying to integrate 5 nested XML files into 1 nested XML file without using Data Mapper (tHmap)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can I achieve it?&amp;nbsp; &amp;nbsp;tMap allows me to pair 1 group to 1 loop or multiple only.&lt;/P&gt; 
&lt;P&gt;Structure of 1 XML(main) and 5 XML files(Sub)&amp;nbsp;are attached.&lt;/P&gt; 
&lt;P&gt;All of 5 XML has partially the same structure below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Common structure&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;lt;ProcessParsePriveReportDataResult&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ImportInvestorAccountUpdate&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;valueDate/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;investorAccount&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;accountNumber&amp;gt;M2185&amp;lt;/accountNumber&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/investorAccount&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;accountCurrency/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Main&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Main_Structure.jpg" style="width: 542px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M143.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133525i6331CF96041C6B61/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M143.jpg" alt="0683p000009M143.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Under Position, security and cash balance are stored.&amp;nbsp; &amp;nbsp;Data comes from Sub-Position&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Under Transaction,&amp;nbsp; 5 different types of transaction data are stored.&amp;nbsp; Data comes from Sub-AssetFlow, Sub-CashFlow, Sub-DistributionFlow, and Sub-Order&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I can achieve group and loop with one of 5 (position, assetflow, cashflow, distributionflow and Order), but I can't loop all of them according to the structure designed by using tmapxml.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;It this achievable without using tHmap(Data mapper)?&lt;/SPAN&gt;&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; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Nov 2018 02:16:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-29T02:16:01Z</dc:date>
    <item>
      <title>Without using Data Mapper (tHmap),  how do I integrate 5 nested XML files into 1 nested XML file with multiple loops and groups</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Without-using-Data-Mapper-tHmap-how-do-I-integrate-5-nested-XML/m-p/2284769#M58397</link>
      <description>&lt;P&gt;I use open source version of Talend Open Studio, and I am trying to integrate 5 nested XML files into 1 nested XML file without using Data Mapper (tHmap)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can I achieve it?&amp;nbsp; &amp;nbsp;tMap allows me to pair 1 group to 1 loop or multiple only.&lt;/P&gt; 
&lt;P&gt;Structure of 1 XML(main) and 5 XML files(Sub)&amp;nbsp;are attached.&lt;/P&gt; 
&lt;P&gt;All of 5 XML has partially the same structure below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Common structure&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;lt;ProcessParsePriveReportDataResult&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ImportInvestorAccountUpdate&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;valueDate/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;investorAccount&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;accountNumber&amp;gt;M2185&amp;lt;/accountNumber&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/investorAccount&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;accountCurrency/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Main&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Main_Structure.jpg" style="width: 542px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M143.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133525i6331CF96041C6B61/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M143.jpg" alt="0683p000009M143.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Under Position, security and cash balance are stored.&amp;nbsp; &amp;nbsp;Data comes from Sub-Position&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Under Transaction,&amp;nbsp; 5 different types of transaction data are stored.&amp;nbsp; Data comes from Sub-AssetFlow, Sub-CashFlow, Sub-DistributionFlow, and Sub-Order&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I can achieve group and loop with one of 5 (position, assetflow, cashflow, distributionflow and Order), but I can't loop all of them according to the structure designed by using tmapxml.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;It this achievable without using tHmap(Data mapper)?&lt;/SPAN&gt;&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; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 02:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Without-using-Data-Mapper-tHmap-how-do-I-integrate-5-nested-XML/m-p/2284769#M58397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-29T02:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Without using Data Mapper (tHmap),  how do I integrate 5 nested XML files into 1 nested XML file with multiple loops and groups</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Without-using-Data-Mapper-tHmap-how-do-I-integrate-5-nested-XML/m-p/2284770#M58398</link>
      <description>&lt;P&gt;any case is unique, but check ideas from here&amp;nbsp;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCl1yCAC#M729" target="_self"&gt;https://community.talend.com/t5/How-Tos-and-Best-Practices/prepare-XML-with-multiple-loop-in-same-level/m-p/142728#M729&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 04:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Without-using-Data-Mapper-tHmap-how-do-I-integrate-5-nested-XML/m-p/2284770#M58398</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-11-29T04:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Without using Data Mapper (tHmap),  how do I integrate 5 nested XML files into 1 nested XML file with multiple loops and groups</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Without-using-Data-Mapper-tHmap-how-do-I-integrate-5-nested-XML/m-p/2284771#M58399</link>
      <description>&lt;P&gt;Dear Vapukov,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your kind assistance.&amp;nbsp; I will give it a try.&lt;/P&gt;&lt;P&gt;Finally, I have a clue to complete my case.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yoshi&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 11:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Without-using-Data-Mapper-tHmap-how-do-I-integrate-5-nested-XML/m-p/2284771#M58399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-29T11:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Without using Data Mapper (tHmap),  how do I integrate 5 nested XML files into 1 nested XML file with multiple loops and groups</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Without-using-Data-Mapper-tHmap-how-do-I-integrate-5-nested-XML/m-p/2284772#M58400</link>
      <description>&lt;P&gt;Dear Vapukov,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I reviewed your suggestion and uploaded the project file for further review. &amp;nbsp;I realized that it refers to multiple loops without group and group element. &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My XML file requires Group element, &amp;nbsp;a few sets of Group and Loop. &amp;nbsp; I can set only one Group and Loop element&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i.e &amp;nbsp;(This is what I want to achieve, but haven't achieved this)&lt;/P&gt; 
&lt;P&gt;ImporInvestAccountUpdate (Group Element)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Positions (Group)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;importPosition (Loop)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Transactions (Group)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;importAssetFlow (Loop Element)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;importCashFlow (Loop Element)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;importDistributionFlow (Loop Element)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;importOrderFlow (Loop Element)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I can achieve this only with tXMLmap&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;ImporInvestAccountUpdate (Group Element)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Positions (Group)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;importPosition (Loop)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;or I can add either one of importAssetFlow/importCashFlow/importDistributionFlow/importOrder flow under transaction.&lt;/P&gt; 
&lt;P&gt;The following Group and Loop are not allowed due to tXMLmap design/limitation. &amp;nbsp; Different account number contains different positions (Stock and Cash) as well as different transactions.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   &amp;nbsp; &amp;nbsp; &amp;nbsp;Transactions (Group) 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;importAssetFlow (Loop Element) 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   &amp;nbsp; 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;importCashFlow (Loop Element) 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   &amp;nbsp; 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;importDistributionFlow (Loop Element) 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;importOrderFlow (Loop Element) 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 15:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Without-using-Data-Mapper-tHmap-how-do-I-integrate-5-nested-XML/m-p/2284772#M58400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-04T15:56:07Z</dc:date>
    </item>
  </channel>
</rss>

