<?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 Creating SQL table from XSD file - containing all loops,  and inserting XML's in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-table-from-XSD-file-containing-all-loops-and/m-p/2320608#M90732</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a XSD file with a full schema, and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I have daily XML files containing daily data.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I need to do is create a table in&amp;nbsp;SQL with the XSD schema, containing &lt;U&gt;all the loops&lt;/U&gt; in it and inserting into this table all the daily XML's data.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I did before and it &lt;U&gt;didn't&lt;/U&gt; work was that I created the XSD schema but with the main loop only with tfileinputXML, and it brought me only one row at a time without separating the data to all the sub loops.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Can anyone advise on this issue? &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Gabrielle&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2018 13:56:50 GMT</pubDate>
    <dc:creator>GabrielleBWS</dc:creator>
    <dc:date>2018-01-24T13:56:50Z</dc:date>
    <item>
      <title>Creating SQL table from XSD file - containing all loops,  and inserting XML's</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-table-from-XSD-file-containing-all-loops-and/m-p/2320608#M90732</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a XSD file with a full schema, and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I have daily XML files containing daily data.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I need to do is create a table in&amp;nbsp;SQL with the XSD schema, containing &lt;U&gt;all the loops&lt;/U&gt; in it and inserting into this table all the daily XML's data.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I did before and it &lt;U&gt;didn't&lt;/U&gt; work was that I created the XSD schema but with the main loop only with tfileinputXML, and it brought me only one row at a time without separating the data to all the sub loops.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Can anyone advise on this issue? &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Gabrielle&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 13:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-table-from-XSD-file-containing-all-loops-and/m-p/2320608#M90732</guid>
      <dc:creator>GabrielleBWS</dc:creator>
      <dc:date>2018-01-24T13:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating SQL table from XSD file - containing all loops,  and inserting XML's</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-table-from-XSD-file-containing-all-loops-and/m-p/2320609#M90733</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please elaborate your case with an example with input and expected output values? Which will be helpful for us to understand your job requirement.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 03:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-table-from-XSD-file-containing-all-loops-and/m-p/2320609#M90733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-05T03:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating SQL table from XSD file - containing all loops,  and inserting XML's</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-table-from-XSD-file-containing-all-loops-and/m-p/2320610#M90734</link>
      <description>&lt;P&gt;I afraid, in any case - the final answer would be "this is not possible", there are many reasons for this:&lt;BR /&gt;&lt;BR /&gt;- Talend not flexible&amp;nbsp;for XML and JSON same as programming language (and this is not a drawback, this is just fact)&lt;/P&gt; 
&lt;P&gt;- Flat database table is not a best place for store XML (especial when structure could change and job must handle this structure changes)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;so:&lt;BR /&gt;- in case if XML is stable - just create structure for all necessary tables &amp;nbsp;and define parsing for each loop.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;- store XML as XML, and use for parse XQuery provided by database (most of them today support this)&lt;BR /&gt;- store XML in XML database - MarkLogic, BaseX, eXists&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 09:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-table-from-XSD-file-containing-all-loops-and/m-p/2320610#M90734</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-05T09:28:45Z</dc:date>
    </item>
  </channel>
</rss>

