<?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] Complex XML structures to MySQL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Complex-XML-structures-to-MySQL/m-p/2317080#M87566</link>
    <description>Hi&amp;nbsp; 
&lt;BR /&gt;Read the xml file two times with two tFileInputXML component, one tFileInputXML reads the&amp;nbsp; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;original name, street and country, another one reads the aka name, street and country, and then merge the two input flow with tUnite.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/1_20140821-1358.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEZ5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144994i14BE5EE4F5E4A0E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEZ5.png" alt="0683p000009MEZ5.png" /&gt;&lt;/span&gt; &lt;/A&gt;&amp;nbsp; &lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/2.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MElR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153157i70E0487F54723A33/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MElR.png" alt="0683p000009MElR.png" /&gt;&lt;/span&gt; &lt;/A&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;Result printed on console: 
&lt;BR /&gt;&amp;nbsp;Starting job forum37818 at 19:56 21/08/2014. 
&lt;BR /&gt; connecting to socket on port 3950 
&lt;BR /&gt; connected 
&lt;BR /&gt;.-------------+--------+-----------. 
&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tLogRow_1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;|=------------+--------+----------=| 
&lt;BR /&gt;|name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |street &amp;nbsp;|country &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|=------------+--------+----------=| 
&lt;BR /&gt;|ORIGINAL NAME|STREET 1|NEVERLAND 1| 
&lt;BR /&gt;|ORIGINAL NAME|STREET 2|NEVERLAND 2| 
&lt;BR /&gt;|AKA NAME &amp;nbsp; &amp;nbsp; |STREET 1|NEVERLAND 1| 
&lt;BR /&gt;|AKA NAME &amp;nbsp; &amp;nbsp; |STREET 2|NEVERLAND 2| 
&lt;BR /&gt;'-------------+--------+-----------' 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job forum37818 ended at 19:56 21/08/2014. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Shong&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Thu, 21 Aug 2014 13:01:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-08-21T13:01:26Z</dc:date>
    <item>
      <title>[resolved] Complex XML structures to MySQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Complex-XML-structures-to-MySQL/m-p/2317079#M87565</link>
      <description>Hi guys,
&lt;BR /&gt;I have some XML files that come in a format like this:
&lt;BR /&gt;
&lt;PRE&gt;&amp;lt;entry&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;lastName&amp;gt;ORIGINAL NAME&amp;lt;/lastName&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;akaList&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;aka&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;lastName&amp;gt;AKA NAME&amp;lt;/lastName&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/aka&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;/akaList&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;addressList&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;address&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;street&amp;gt;STREET 1&amp;lt;/street&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;country&amp;gt;NEVERLAND 1&amp;lt;/country&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/address&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;address&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;street&amp;gt;STREET 2&amp;lt;/street&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;country&amp;gt;NEVERLAND 2&amp;lt;/country&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/address&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;/addressList&amp;gt;&lt;/PRE&gt;
&lt;BR /&gt;I need to put these XML files into a database table with name, address, country columns. The problem: I need a separate row with name, address, country for EVERY name (original name and aka. name). For this example it would look like:
&lt;BR /&gt;name;address;country
&lt;BR /&gt;ORIGINAL NAME; STREET 1;NEVERLAND 1;
&lt;BR /&gt;ORIGINAL NAME; STREET 2;NEVERLAND 2;
&lt;BR /&gt;AKA NAME;STREET 1;NEVERLAND 1;
&lt;BR /&gt;AKA NAME;STREET 2;NEVERLAND 2;
&lt;BR /&gt;I've tried solving this using tFileInputXML, but I don't know if that is even possible with a single component. Do you guys have any idea how to do that?
&lt;BR /&gt;Thanks in advance and greetings from Vienna
&lt;BR /&gt;Hannes</description>
      <pubDate>Tue, 19 Aug 2014 15:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Complex-XML-structures-to-MySQL/m-p/2317079#M87565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-19T15:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Complex XML structures to MySQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Complex-XML-structures-to-MySQL/m-p/2317080#M87566</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;Read the xml file two times with two tFileInputXML component, one tFileInputXML reads the&amp;nbsp; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;original name, street and country, another one reads the aka name, street and country, and then merge the two input flow with tUnite.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/1_20140821-1358.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEZ5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144994i14BE5EE4F5E4A0E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEZ5.png" alt="0683p000009MEZ5.png" /&gt;&lt;/span&gt; &lt;/A&gt;&amp;nbsp; &lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/2.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MElR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153157i70E0487F54723A33/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MElR.png" alt="0683p000009MElR.png" /&gt;&lt;/span&gt; &lt;/A&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;Result printed on console: 
&lt;BR /&gt;&amp;nbsp;Starting job forum37818 at 19:56 21/08/2014. 
&lt;BR /&gt; connecting to socket on port 3950 
&lt;BR /&gt; connected 
&lt;BR /&gt;.-------------+--------+-----------. 
&lt;BR /&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tLogRow_1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 
&lt;BR /&gt;|=------------+--------+----------=| 
&lt;BR /&gt;|name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |street &amp;nbsp;|country &amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;|=------------+--------+----------=| 
&lt;BR /&gt;|ORIGINAL NAME|STREET 1|NEVERLAND 1| 
&lt;BR /&gt;|ORIGINAL NAME|STREET 2|NEVERLAND 2| 
&lt;BR /&gt;|AKA NAME &amp;nbsp; &amp;nbsp; |STREET 1|NEVERLAND 1| 
&lt;BR /&gt;|AKA NAME &amp;nbsp; &amp;nbsp; |STREET 2|NEVERLAND 2| 
&lt;BR /&gt;'-------------+--------+-----------' 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job forum37818 ended at 19:56 21/08/2014. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Shong&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:01:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Complex-XML-structures-to-MySQL/m-p/2317080#M87566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-21T13:01:26Z</dc:date>
    </item>
  </channel>
</rss>

