<?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: [resolved] How to loop an element in tFileInputXML in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323152#M93029</link>
    <description>but this doesn't work for my case!</description>
    <pubDate>Thu, 17 Sep 2009 13:22:53 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2009-09-17T13:22:53Z</dc:date>
    <item>
      <title>[resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323146#M93023</link>
      <description>Hi: I am trying to map an xml document to table columns using tFileinputXML but stuck how to loop through elements that can be present more than once. E.g see the xml data below, not only I want to loop through all the elements, but I also would like to create a Many to One relationship on the basis of looped element to the relational database. Any help will be appreciated. 
&lt;BR /&gt;&amp;lt;entry dataset="Swiss-Prot" created="1986-07-21" modified="2009-09-01" version="151"&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;P00533&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;O00688&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;O00732&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;P06268&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;Q14225&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;Q68GS5&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;Q92795&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;Q9BZS2&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;Q9GZX1&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;Q9H2C9&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;Q9H3C9&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;Q9UMD7&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;Q9UMD8&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;accession&amp;gt;Q9UMG5&amp;lt;/accession&amp;gt; 
&lt;BR /&gt;&amp;lt;name&amp;gt;EGFR_HUMAN&amp;lt;/name&amp;gt; 
&lt;BR /&gt;&amp;lt;/entry&amp;gt; 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Rashid.</description>
      <pubDate>Sat, 16 Nov 2024 13:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323146#M93023</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323147#M93024</link>
      <description>Hello Rashid
&lt;BR /&gt;Can you give us an example to expalin your request?
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 16 Sep 2009 03:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323147#M93024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-16T03:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323148#M93025</link>
      <description>Shong you can pick any example where you have one parent element tag with 1 to many child elements, some thing like the one I posted previously. Ok let me create an example and try to explain it to you. Let?s say we have a department named ?Sales? with lot of employees and we want to store element department in parent table and all the sub employees in the child table. See the xml below
&lt;BR /&gt;&amp;lt;root&amp;gt;
&lt;BR /&gt;&amp;lt;department id=1 name=?Sales?&amp;gt;
&lt;BR /&gt;&amp;lt;employee&amp;gt; John &amp;lt;/ employee &amp;gt;
&lt;BR /&gt;&amp;lt;employee&amp;gt; Alex &amp;lt;/ employee &amp;gt;
&lt;BR /&gt;&amp;lt;employee&amp;gt; Sharon &amp;lt;/ employee &amp;gt;
&lt;BR /&gt;&amp;lt;/department&amp;gt;
&lt;BR /&gt;&amp;lt;/root&amp;gt;
&lt;BR /&gt;Now let?s say I have two tables Department and Employees and I want to store department "sales" on Department table and all the employees in employee table with department id 1 as the foreign key.</description>
      <pubDate>Wed, 16 Sep 2009 09:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323148#M93025</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-09-16T09:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323149#M93026</link>
      <description>Hello
&lt;BR /&gt;You can extract the id,name and employee from xml file, then generate two table on tMap. see my screenshots.
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 17 Sep 2009 06:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323149#M93026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-17T06:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323150#M93027</link>
      <description>Hi, 
&lt;BR /&gt;I've exact the same problem, I need to import a multi level xml with nested loops? 
&lt;BR /&gt;Example: 
&lt;BR /&gt;&amp;lt;ZPM_EQUIPMENT_EXPORT&amp;gt; 
&lt;BR /&gt; &amp;lt;EQUI&amp;gt; 
&lt;BR /&gt; &amp;lt;EQUNR&amp;gt;000000000010032036&amp;lt;/EQUNR&amp;gt; 
&lt;BR /&gt; &amp;lt;AEDAT&amp;gt;2009-07-07&amp;lt;/AEDAT&amp;gt; 
&lt;BR /&gt; &amp;lt;/EQUI&amp;gt; 
&lt;BR /&gt; &amp;lt;CLOBJDAT&amp;gt; 
&lt;BR /&gt; &amp;lt;CLOBJDAT&amp;gt; 
&lt;BR /&gt; &amp;lt;TABIX&amp;gt;1&amp;lt;/TABIX&amp;gt; 
&lt;BR /&gt; &amp;lt;ATFLV&amp;gt;9.9E1&amp;lt;/ATFLV&amp;gt; 
&lt;BR /&gt; &amp;lt;ATNAM&amp;gt;ZZ_IT_KOSTENGRUPPE&amp;lt;/ATNAM&amp;gt; 
&lt;BR /&gt; &amp;lt;/CLOBJDAT&amp;gt; 
&lt;BR /&gt; &amp;lt;CLOBJDAT&amp;gt; 
&lt;BR /&gt; &amp;lt;TABIX&amp;gt;2&amp;lt;/TABIX&amp;gt; 
&lt;BR /&gt; &amp;lt;ATFLV&amp;gt;0&amp;lt;/ATFLV&amp;gt; 
&lt;BR /&gt; &amp;lt;ATNAM&amp;gt;ZZ_ANLAGENHAUPTNUMMER&amp;lt;/ATNAM&amp;gt; 
&lt;BR /&gt; &amp;lt;/CLOBJDAT&amp;gt; 
&lt;BR /&gt; &amp;lt;CLOBJDAT&amp;gt; 
&lt;BR /&gt;&amp;lt;/ZPM_EQUIPMENT_EXPORT&amp;gt; 
&lt;BR /&gt;regards 
&lt;BR /&gt;Meex</description>
      <pubDate>Thu, 17 Sep 2009 06:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323150#M93027</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-09-17T06:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323151#M93028</link>
      <description>Thanks Shong that was exactly I was looking for. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;RJ.</description>
      <pubDate>Thu, 17 Sep 2009 08:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323151#M93028</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-09-17T08:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323152#M93029</link>
      <description>but this doesn't work for my case!</description>
      <pubDate>Thu, 17 Sep 2009 13:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323152#M93029</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-09-17T13:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323153#M93030</link>
      <description>ok, found the solution: 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCoiDCAS" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/xml-tfileinputXML-question/td-p/96567&lt;/A&gt;</description>
      <pubDate>Thu, 17 Sep 2009 15:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323153#M93030</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-09-17T15:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323154#M93031</link>
      <description>I tried that, and I still get multiple records for department. I only want one entry for department. Please help.</description>
      <pubDate>Wed, 30 Oct 2013 22:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323154#M93031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-30T22:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323155#M93032</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;I tried that, and I still get multiple records for department. I only want one entry for department. Please help.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Please report a new topic for your problem with details, so that we can know clear what's the problem you really meet and assist you further.
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 31 Oct 2013 13:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323155#M93032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-31T13:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323156#M93033</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello&lt;BR /&gt;You can extract the id,name and employee from xml file, then generate two table on tMap. see my screenshots.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt; &lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shong&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi Shong, 
&lt;BR /&gt;My input xml file as follows. And I have given absolute Xpath :&amp;nbsp;/model-response-list/model-responses/model/attribute but I am getting all attribute information in single colum. Could you please help us and I am unable to see your old screen prints. 
&lt;BR /&gt;&amp;lt;model-response-list xmlns="" throttle="1000" total-models="33328"&amp;gt; 
&lt;BR /&gt;&amp;lt;model-responses&amp;gt; 
&lt;BR /&gt;&amp;lt;model mh="0x65a000"&amp;gt; 
&lt;BR /&gt;&amp;lt;attribute id="0x1006e"&amp;gt;alpcissapp922c&amp;lt;/attribute&amp;gt; 
&lt;BR /&gt;&amp;lt;attribute id="0x10030"/&amp;gt; 
&lt;BR /&gt;&amp;lt;attribute id="0x23000e"&amp;gt;IP Device&amp;lt;/attribute&amp;gt; 
&lt;BR /&gt;&amp;lt;attribute id="0x12d7f"&amp;gt;3.34.235.67&amp;lt;/attribute&amp;gt; 
&lt;BR /&gt;&amp;lt;attribute id="0x10023" error="NoSuchAttribute"/&amp;gt; 
&lt;BR /&gt;&amp;lt;attribute id="0x10032"/&amp;gt; 
&lt;BR /&gt;&amp;lt;/model&amp;gt; 
&lt;BR /&gt;&amp;lt;/model-responses&amp;gt; 
&lt;BR /&gt;&amp;lt;/model-response-list&amp;gt;</description>
      <pubDate>Mon, 30 May 2016 09:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323156#M93033</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-05-30T09:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323157#M93034</link>
      <description>How to display my root Element using tFileInputMSXML</description>
      <pubDate>Wed, 10 Aug 2016 17:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323157#M93034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-10T17:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to loop an element in tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323158#M93035</link>
      <description>I want to read this XML file using tFileInputMSXML&amp;nbsp; as two Schemas as 1- Header(/AllianceInventory6/Invoice/(Vendor,InvoiceNumber,InvoiceDate..)) and Data(/AllianceInventory6/Invoice/ProductListing/Product/@(UPC,QuantityAdjusted..)) 
&lt;BR /&gt;but it is hard to insert for X-path loop for both the schema as the Second Schema is within Invoice.Please help me how to read the file using tFileInputMSXML.</description>
      <pubDate>Tue, 06 Sep 2016 14:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-loop-an-element-in-tFileInputXML/m-p/2323158#M93035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-06T14:15:27Z</dc:date>
    </item>
  </channel>
</rss>

