<?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: Extracting XML with a parent loop which has multiple child loops in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324634#M94320</link>
    <description>Anyone?</description>
    <pubDate>Sat, 28 Feb 2015 10:55:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-28T10:55:15Z</dc:date>
    <item>
      <title>Extracting XML with a parent loop which has multiple child loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324630#M94316</link>
      <description>Hi All, 
  &lt;BR /&gt;I am trying to extract data from xml file (actually the data is returned by a web service call using tRESTClient). 
  &lt;BR /&gt;This particular response/XML file has a parent loop and each parent has 4 or 5 child loops. 
  &lt;BR /&gt;I tried parsing this using tExtractXMLField, tXMLMap, tFileInputXML but not able to parse it correctly. I found each of the component has their own limitation while reading and writing the data, hence none of those is able to parse this XML or even combination of those components also couldn't do it. 
  &lt;BR /&gt;Can anybody please help me with this?&amp;nbsp; 
  &lt;BR /&gt;Here's the XML: 
  &lt;BR /&gt; 
  &lt;PRE&gt;&amp;lt;set&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;ActivityInstance&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;processUUID&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;value&amp;gt;DiscountApproval--1.0&amp;lt;/value&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/processUUID&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;instanceUUID&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;value&amp;gt;D&lt;/PRE&gt;
 &lt;BR /&gt;&lt;BR /&gt;To see the whole post, download it &lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Mcme"&gt;here&lt;/A&gt;</description>
      <pubDate>Fri, 27 Feb 2015 07:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324630#M94316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-27T07:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting XML with a parent loop which has multiple child loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324631#M94317</link>
      <description>check this post which smiler to your scenario.&amp;nbsp;
&lt;BR /&gt;
&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>Fri, 27 Feb 2015 10:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324631#M94317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-27T10:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting XML with a parent loop which has multiple child loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324632#M94318</link>
      <description>Thanks.&lt;BR /&gt;But we're not looking to break one row XML data into multiple rows/schemas.&lt;BR /&gt;We need to parse that XML in one data row i.e. one schema. So that we can play around with this one row schema with our needs.&lt;BR /&gt;And how do we convert those parent loops and multiple child nested loops to Json?&amp;nbsp;</description>
      <pubDate>Fri, 27 Feb 2015 19:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324632#M94318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-27T19:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting XML with a parent loop which has multiple child loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324633#M94319</link>
      <description>Can anyone write one demo job to read that XML to row schema and then convert it into json?&amp;nbsp;
&lt;BR /&gt;It will be of great help. Thanks a ton in advance.</description>
      <pubDate>Fri, 27 Feb 2015 19:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324633#M94319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-27T19:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting XML with a parent loop which has multiple child loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324634#M94320</link>
      <description>Anyone?</description>
      <pubDate>Sat, 28 Feb 2015 10:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324634#M94320</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-28T10:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting XML with a parent loop which has multiple child loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324635#M94321</link>
      <description>Someone?</description>
      <pubDate>Sun, 01 Mar 2015 11:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324635#M94321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-01T11:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting XML with a parent loop which has multiple child loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324636#M94322</link>
      <description>No one?</description>
      <pubDate>Mon, 02 Mar 2015 06:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324636#M94322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-02T06:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting XML with a parent loop which has multiple child loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324637#M94323</link>
      <description>Can you show us what output are you looking? &amp;nbsp;also show us what are the ways you tried, and output you got, it will help us too.&amp;nbsp;</description>
      <pubDate>Mon, 02 Mar 2015 06:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324637#M94323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-02T06:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting XML with a parent loop which has multiple child loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324638#M94324</link>
      <description>I want the XML from my first post, as a JSON output.&amp;nbsp;
&lt;BR /&gt;I tried various components like tXMLMap, tExtractXML, tExctractMSXml, tWriteJson. All has their advantages and limitations. I can read the XML fine but I am not able to convert it into JSON due to the limitation of tWriteJson which allows only one loop.
&lt;BR /&gt;Also I've don't have good knowledge on how to use Data Mappings (I do have Enterprise Version), still I managed to play it around and create my own tMyMap (custom map like tMap, tHMap, tXMLMap). But even in that case, I just don't know how would I convert my data into JSON!!
&lt;BR /&gt;I am simply stuck due to various limitations of different components and not able to find my way out of this.
&lt;BR /&gt;
&lt;B&gt;If experts don't have answers to above questions then One final question for you guys: IS THIS EVEN POSSIBLE TO DO IN TALEND? XML to JSON, that's it!!!!! Or we just have to use some third party library to create JSON using tJava, tJavaFlex, etc?&lt;/B&gt;</description>
      <pubDate>Mon, 02 Mar 2015 18:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324638#M94324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-02T18:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting XML with a parent loop which has multiple child loops</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324639#M94325</link>
      <description>Folks?&amp;nbsp;</description>
      <pubDate>Tue, 03 Mar 2015 12:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extracting-XML-with-a-parent-loop-which-has-multiple-child-loops/m-p/2324639#M94325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-03T12:26:29Z</dc:date>
    </item>
  </channel>
</rss>

