<?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: Generate and Split XML in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Generate-and-Split-XML/m-p/2358930#M123852</link>
    <description>&lt;P&gt;This tutorial is not exactly what you want, but it is pretty close and you can probably use the theory behind it to achieve your goal. Essentially you can group your data into batches and produce an XML per batch. So, if you can guesstimate the number of records in a batch which meets you size criteria, you can produce XML chunks to that size.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The key thing here is using a tLoop (or maybe an iterator if you can batch and group in your database) to produce different files.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Take a look:&amp;nbsp;&lt;A href="https://www.rilhia.com/tutorials/load-xml-files-batches-records" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/tutorials/load-xml-files-batches-records&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2017 16:02:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-27T16:02:24Z</dc:date>
    <item>
      <title>Generate and Split XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-and-Split-XML/m-p/2358929#M123851</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am generating an XML file which is approximately 1.5 Gb and as far as now its works perfectly.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In order to avoid, outofmemory exception (reap size or garbage collector) if ever there is an increase in my input files, i&amp;nbsp;want to implement the process below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is my idea :&lt;/P&gt; 
&lt;P&gt;Instead of generating a large file, i want to generate multiple xml file but it should be according to a size limit.&lt;/P&gt; 
&lt;P&gt;I also want to make sure that each file has its opening and closing root tag.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In other words, if the file generated has come to the size limit declared then process the last row along with its closing tag....repeat...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can this be done via TOS Big Data v6.4 ?&lt;/P&gt; 
&lt;P&gt;Can you please advice ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is my job :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capturea.PNG" style="width: 813px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lqqk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139692i1FB7E451736D1948/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lqqk.png" alt="0683p000009Lqqk.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My tFileInputDelimited_1 contains 88,900 rows.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards,&lt;/P&gt; 
&lt;P&gt;asadasing&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-and-Split-XML/m-p/2358929#M123851</guid>
      <dc:creator>RA6</dc:creator>
      <dc:date>2024-11-16T09:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Generate and Split XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-and-Split-XML/m-p/2358930#M123852</link>
      <description>&lt;P&gt;This tutorial is not exactly what you want, but it is pretty close and you can probably use the theory behind it to achieve your goal. Essentially you can group your data into batches and produce an XML per batch. So, if you can guesstimate the number of records in a batch which meets you size criteria, you can produce XML chunks to that size.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The key thing here is using a tLoop (or maybe an iterator if you can batch and group in your database) to produce different files.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Take a look:&amp;nbsp;&lt;A href="https://www.rilhia.com/tutorials/load-xml-files-batches-records" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/tutorials/load-xml-files-batches-records&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 16:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-and-Split-XML/m-p/2358930#M123852</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-27T16:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Generate and Split XML</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-and-Split-XML/m-p/2358931#M123853</link>
      <description>Genius</description>
      <pubDate>Thu, 28 Sep 2017 13:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-and-Split-XML/m-p/2358931#M123853</guid>
      <dc:creator>RA6</dc:creator>
      <dc:date>2017-09-28T13:33:26Z</dc:date>
    </item>
  </channel>
</rss>

