<?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: Read XML having Multiple Nested Loops in Different Parent Node in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288014#M61534</link>
    <description>Hi Shukla, 
&lt;BR /&gt;If you are using Talend Enterprise Edition version more than 5.4.1. You will have Talend Data Mapper, which is capable of processing complex xml files.&amp;nbsp; 
&lt;BR /&gt;If you are using open studio or older version of Talend then we will not have TDM. &amp;nbsp;Even though older versions have tfileinputxml component, this can n't help for complex xml files. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;L Raghunath.</description>
    <pubDate>Tue, 12 May 2015 13:05:40 GMT</pubDate>
    <dc:creator>Raghunath</dc:creator>
    <dc:date>2015-05-12T13:05:40Z</dc:date>
    <item>
      <title>Read XML having Multiple Nested Loops in Different Parent Node</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288013#M61533</link>
      <description>We need to process a xml with data such that it has multiple values in two child nodes.
&lt;BR /&gt;When i loop it on&amp;nbsp;DesignatedCountryCode it doesnot read multiple&amp;nbsp;ClassNumber values and when i loop it on&amp;nbsp;ClassNumber it doesnot read data for multiple DesignatedCountryCode.&amp;nbsp;
&lt;BR /&gt;&amp;nbsp;Below is the sample data:
&lt;BR /&gt;&amp;lt;TradeMark&amp;gt;
&lt;BR /&gt;&amp;nbsp;&amp;lt;TradeMarkIdentifier&amp;gt;273985233&amp;lt;/TradeMarkIdentifier&amp;gt;
&lt;BR /&gt;&amp;nbsp;&amp;lt;DesignatedCountryDetails&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;DesignatedCountry&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;lt;DesignatedCountryCode&amp;gt;SG&amp;lt;/DesignatedCountryCode&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;lt;DesignatedUnderCode&amp;gt;Protocol&amp;lt;/DesignatedUnderCode&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/DesignatedCountry&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;DesignatedCountry&amp;gt;
&lt;BR /&gt;&amp;lt;DesignatedCountryCode&amp;gt;AM&amp;lt;/DesignatedCountryCode&amp;gt;
&lt;BR /&gt;&amp;lt;DesignatedUnderCode&amp;gt;Protocol&amp;lt;/DesignatedUnderCode&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/DesignatedCountry&amp;gt;
&lt;BR /&gt;&amp;nbsp;&amp;lt;/DesignatedCountryDetails&amp;gt;
&lt;BR /&gt;&amp;nbsp;&amp;lt;GoodsServicesDetails&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;GoodsServices&amp;gt;
&lt;BR /&gt;&amp;lt;ClassificationKindCode&amp;gt;Nice&amp;lt;/ClassificationKindCode&amp;gt;
&lt;BR /&gt;&amp;lt;ClassDescriptionDetails&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;lt;ClassDescription&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;ClassNumber&amp;gt;35&amp;lt;/ClassNumber&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;GoodsServicesDescription languageCode="en" hashKey="GOMLWgjSHm95KAe3qGkqcILQ4Zo="&amp;gt;Advertising; business management; business administration; &amp;lt;/GoodsServicesDescription&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;lt;/ClassDescription&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;lt;ClassDescription&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;ClassNumber&amp;gt;36&amp;lt;/ClassNumber&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;GoodsServicesDescription languageCode="en" hashKey="eBoBcVWuav1yLPZk3Q78xPsnR/k="&amp;gt;Financial affairs; real estate affairs; .&amp;lt;/GoodsServicesDescription&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;lt;/ClassDescription&amp;gt;
&lt;BR /&gt;&amp;lt;/ClassDescriptionDetails&amp;gt;
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/GoodsServices&amp;gt;
&lt;BR /&gt;&amp;nbsp;&amp;lt;/GoodsServicesDetails&amp;gt;
&lt;BR /&gt;&amp;lt;/TradeMark&amp;gt;
&lt;BR /&gt;Please help.
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Saurabh.</description>
      <pubDate>Sat, 16 Nov 2024 11:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288013#M61533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Read XML having Multiple Nested Loops in Different Parent Node</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288014#M61534</link>
      <description>Hi Shukla, 
&lt;BR /&gt;If you are using Talend Enterprise Edition version more than 5.4.1. You will have Talend Data Mapper, which is capable of processing complex xml files.&amp;nbsp; 
&lt;BR /&gt;If you are using open studio or older version of Talend then we will not have TDM. &amp;nbsp;Even though older versions have tfileinputxml component, this can n't help for complex xml files. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;L Raghunath.</description>
      <pubDate>Tue, 12 May 2015 13:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288014#M61534</guid>
      <dc:creator>Raghunath</dc:creator>
      <dc:date>2015-05-12T13:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Read XML having Multiple Nested Loops in Different Parent Node</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288015#M61535</link>
      <description>you can do it using following job design.&lt;BR /&gt;tFileInputXMl---tXMLMap---(out one for first loop)&lt;BR /&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; \(output two for second loop segment)&lt;BR /&gt;Now follow the instructions from&amp;nbsp;&lt;A href="http://dwetl.com/2015/02/20/read-xml-with-nested-loops/" target="_blank" rel="nofollow noopener noreferrer"&gt;read xml with nested loops&lt;/A&gt;.</description>
      <pubDate>Tue, 12 May 2015 13:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288015#M61535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-12T13:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Read XML having Multiple Nested Loops in Different Parent Node</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288016#M61536</link>
      <description>Hi Umesh, 
&lt;BR /&gt;Thanks for the reply , i am doing this on Talend sandbox and did what you suggested. But problem with above solution is that ultimately i want to make a list of the multiple element and load it as one row for every id. If i divide it in multiple outputs i am not able to join the two flows after aggregating. My flow looks like this: 
&lt;BR /&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt; taggregator1 --&amp;gt; tlogrow1 
&lt;BR /&gt;txmlinput --&amp;gt; txmlmap --&amp;gt;&amp;nbsp; 
&lt;BR /&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;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--&amp;gt; taggregator2 --&amp;gt;tlogrow2 
&lt;BR /&gt;I want to join the data of flow1 and flow2 and load it into cassandra. 
&lt;BR /&gt;Please suggest. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Saurabh. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/231437/blob_20150512-1853.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCFp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139140i4E93E247F59555A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCFp.png" alt="0683p000009MCFp.png" /&gt;&lt;/span&gt; &lt;/A&gt;</description>
      <pubDate>Tue, 12 May 2015 17:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288016#M61536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-12T17:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read XML having Multiple Nested Loops in Different Parent Node</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288017#M61537</link>
      <description>for that you need to store your data either in file/db or tHashXXXXX components and then read it again for merge it.&amp;nbsp;
&lt;BR /&gt;after tAggregate ---tFileoutput. do it for both the flow.&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;use tFileinput with same schema which was used in last tFileOutput component.&amp;nbsp;
&lt;BR /&gt;use merge or tMap/tJon to make it one row.&amp;nbsp;
&lt;BR /&gt;tFileinput-----tMap-----main---youroutput.&amp;nbsp;
&lt;BR /&gt;tFileinput -----/
&lt;BR /&gt;Create temporary id using numeric.sequence and share same id with both the flow then use this column for joining.</description>
      <pubDate>Wed, 13 May 2015 07:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288017#M61537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-13T07:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read XML having Multiple Nested Loops in Different Parent Node</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288018#M61538</link>
      <description>Yes but this seems a complex solution in case of 70-75 multi value fields.I will need to write it in 75 temp files and process it in next flow. This inturn will have performance impact as well.. !!&lt;BR /&gt;Thanks a lot for suggesting this and replying on my post!!&lt;BR /&gt;-Saurabh.</description>
      <pubDate>Wed, 13 May 2015 07:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-XML-having-Multiple-Nested-Loops-in-Different-Parent-Node/m-p/2288018#M61538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-13T07:38:52Z</dc:date>
    </item>
  </channel>
</rss>

