<?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 [resolved] Convert XML to CVS using tFileInputXML in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-XML-to-CVS-using-tFileInputXML/m-p/2312251#M83219</link>
    <description>Hi, I have the following XML file that I need to output to CSV. The issue being that the A11_MV items are duplicated, but are correlative to the A15_MV items.
&lt;BR /&gt;XML code:
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&lt;BR /&gt;&amp;lt;ROOT
&lt;BR /&gt; xmlns:xsi="
&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&amp;gt;
&lt;BR /&gt;&amp;lt;CUSTOMER _ID = "2"&amp;gt;
&lt;BR /&gt; &amp;lt;A11_MV A11 = "C2000"/&amp;gt;
&lt;BR /&gt; &amp;lt;A11_MV A11 = "M3000"/&amp;gt;
&lt;BR /&gt; &amp;lt;A11_MV A11 = "S3000"/&amp;gt;
&lt;BR /&gt; &amp;lt;A15_MV A15 = "8437"/&amp;gt;
&lt;BR /&gt; &amp;lt;A15_MV A15 = "8437"/&amp;gt;
&lt;BR /&gt; &amp;lt;A15_MV A15 = "8444"/&amp;gt;
&lt;BR /&gt;&amp;lt;/CUSTOMER&amp;gt;
&lt;BR /&gt;&amp;lt;CUSTOMER _ID = "4"&amp;gt;
&lt;BR /&gt; &amp;lt;A11_MV A11 = "C3000"/&amp;gt;
&lt;BR /&gt; &amp;lt;A15_MV A15 = "8439"/&amp;gt;
&lt;BR /&gt;&amp;lt;/CUSTOMER&amp;gt;
&lt;BR /&gt;&amp;lt;CUSTOMER _ID = "6"&amp;gt;
&lt;BR /&gt; &amp;lt;A11_MV/&amp;gt;
&lt;BR /&gt; &amp;lt;A15_MV/&amp;gt;
&lt;BR /&gt;&amp;lt;/CUSTOMER&amp;gt;
&lt;BR /&gt;&amp;lt;/ROOT&amp;gt;
&lt;BR /&gt;The output I am looking for would be:
&lt;BR /&gt;"2","C2000","8437"
&lt;BR /&gt;"2","M3000","8437"
&lt;BR /&gt;"2","S3000","8444"
&lt;BR /&gt;"4","C3000","8439"
&lt;BR /&gt;"6","",""
&lt;BR /&gt;Any help would be greatly appreciated.</description>
    <pubDate>Sat, 16 Nov 2024 13:36:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:36:14Z</dc:date>
    <item>
      <title>[resolved] Convert XML to CVS using tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-XML-to-CVS-using-tFileInputXML/m-p/2312251#M83219</link>
      <description>Hi, I have the following XML file that I need to output to CSV. The issue being that the A11_MV items are duplicated, but are correlative to the A15_MV items.
&lt;BR /&gt;XML code:
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&lt;BR /&gt;&amp;lt;ROOT
&lt;BR /&gt; xmlns:xsi="
&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&amp;gt;
&lt;BR /&gt;&amp;lt;CUSTOMER _ID = "2"&amp;gt;
&lt;BR /&gt; &amp;lt;A11_MV A11 = "C2000"/&amp;gt;
&lt;BR /&gt; &amp;lt;A11_MV A11 = "M3000"/&amp;gt;
&lt;BR /&gt; &amp;lt;A11_MV A11 = "S3000"/&amp;gt;
&lt;BR /&gt; &amp;lt;A15_MV A15 = "8437"/&amp;gt;
&lt;BR /&gt; &amp;lt;A15_MV A15 = "8437"/&amp;gt;
&lt;BR /&gt; &amp;lt;A15_MV A15 = "8444"/&amp;gt;
&lt;BR /&gt;&amp;lt;/CUSTOMER&amp;gt;
&lt;BR /&gt;&amp;lt;CUSTOMER _ID = "4"&amp;gt;
&lt;BR /&gt; &amp;lt;A11_MV A11 = "C3000"/&amp;gt;
&lt;BR /&gt; &amp;lt;A15_MV A15 = "8439"/&amp;gt;
&lt;BR /&gt;&amp;lt;/CUSTOMER&amp;gt;
&lt;BR /&gt;&amp;lt;CUSTOMER _ID = "6"&amp;gt;
&lt;BR /&gt; &amp;lt;A11_MV/&amp;gt;
&lt;BR /&gt; &amp;lt;A15_MV/&amp;gt;
&lt;BR /&gt;&amp;lt;/CUSTOMER&amp;gt;
&lt;BR /&gt;&amp;lt;/ROOT&amp;gt;
&lt;BR /&gt;The output I am looking for would be:
&lt;BR /&gt;"2","C2000","8437"
&lt;BR /&gt;"2","M3000","8437"
&lt;BR /&gt;"2","S3000","8444"
&lt;BR /&gt;"4","C3000","8439"
&lt;BR /&gt;"6","",""
&lt;BR /&gt;Any help would be greatly appreciated.</description>
      <pubDate>Sat, 16 Nov 2024 13:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-XML-to-CVS-using-tFileInputXML/m-p/2312251#M83219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert XML to CVS using tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-XML-to-CVS-using-tFileInputXML/m-p/2312252#M83220</link>
      <description>Hello 
&lt;BR /&gt;You can use two tFileInputXML components to extract data from the same file, one extract _ID and A11 node, another one extract _ID and A15 node, then do a inner jon and merge columns on tMap. see my screenshots.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 19 Jan 2010 03:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-XML-to-CVS-using-tFileInputXML/m-p/2312252#M83220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-19T03:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert XML to CVS using tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-XML-to-CVS-using-tFileInputXML/m-p/2312253#M83221</link>
      <description>Thanks shong.. Works a treat.</description>
      <pubDate>Tue, 19 Jan 2010 04:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-XML-to-CVS-using-tFileInputXML/m-p/2312253#M83221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-19T04:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert XML to CVS using tFileInputXML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-XML-to-CVS-using-tFileInputXML/m-p/2312254#M83222</link>
      <description>HI
&lt;BR /&gt; When I am converting Xml to csv i am getting same output for the number of rows I have. My xml is
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="ISO-8859-15" ?&amp;gt; 
&lt;BR /&gt;- &amp;lt;root&amp;gt;
&lt;BR /&gt;- &amp;lt;row&amp;gt;
&lt;BR /&gt; &amp;lt;id&amp;gt;1&amp;lt;/id&amp;gt; 
&lt;BR /&gt; &amp;lt;name&amp;gt;suresh&amp;lt;/name&amp;gt; 
&lt;BR /&gt; &amp;lt;/row&amp;gt;
&lt;BR /&gt;- &amp;lt;row&amp;gt;
&lt;BR /&gt; &amp;lt;id&amp;gt;2&amp;lt;/id&amp;gt; 
&lt;BR /&gt; &amp;lt;name&amp;gt;naresh&amp;lt;/name&amp;gt; 
&lt;BR /&gt; &amp;lt;/row&amp;gt;
&lt;BR /&gt; &amp;lt;/root&amp;gt;
&lt;BR /&gt;so there are two rows. So the output i am getting is
&lt;BR /&gt;id;name
&lt;BR /&gt;1;suresh
&lt;BR /&gt;1;suresh
&lt;BR /&gt;instead of
&lt;BR /&gt;id;name
&lt;BR /&gt;1;suresh
&lt;BR /&gt;2;naresh
&lt;BR /&gt;What is the solution to this? Please Help</description>
      <pubDate>Sat, 04 Dec 2010 08:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-XML-to-CVS-using-tFileInputXML/m-p/2312254#M83222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-04T08:59:39Z</dc:date>
    </item>
  </channel>
</rss>

