<?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: Split large XML file to smaller files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Split-large-XML-file-to-smaller-files/m-p/2326594#M96066</link>
    <description>But can I simple loop through the booms and without specifying the contents within a book, copy all the books?</description>
    <pubDate>Fri, 04 Jul 2014 16:06:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-04T16:06:43Z</dc:date>
    <item>
      <title>Split large XML file to smaller files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-large-XML-file-to-smaller-files/m-p/2326592#M96064</link>
      <description>I have an xml file which is BIG. Now I want to use Talend to split the file into x files having the same structure as the original file. For example, the orignal file contains 6 books. I want a job which creates two files, each having three books, but the structure should stay the same: sow the leading header line and the surrounding &amp;lt;books&amp;gt; tag should be in both splitted output files. For some reason I can't manage to do this within talend. Why not? I DON'T want to to configure some kind of component and build up the complete output xml myself... I just want to iterate through /books/book and save them in multiple output xml files. Why is this so hard within Talend?&lt;BR /&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;lt;books&amp;gt;&lt;BR /&gt;    &amp;lt;book&amp;gt;&lt;BR /&gt;        &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;BR /&gt;        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;BR /&gt;    &amp;lt;/book&amp;gt;&lt;BR /&gt;    &amp;lt;book&amp;gt;&lt;BR /&gt;        &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;BR /&gt;        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;BR /&gt;    &amp;lt;/book&amp;gt;&lt;BR /&gt;    &amp;lt;book&amp;gt;&lt;BR /&gt;        &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;BR /&gt;        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;BR /&gt;    &amp;lt;/book&amp;gt;&lt;BR /&gt;    &amp;lt;book&amp;gt;&lt;BR /&gt;        &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;BR /&gt;        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;BR /&gt;    &amp;lt;/book&amp;gt;&lt;BR /&gt;    &amp;lt;book&amp;gt;&lt;BR /&gt;        &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;BR /&gt;        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;BR /&gt;    &amp;lt;/book&amp;gt;&lt;BR /&gt;    &amp;lt;book&amp;gt;&lt;BR /&gt;        &amp;lt;code&amp;gt;&amp;lt;/code&amp;gt;&lt;BR /&gt;        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;BR /&gt;    &amp;lt;/book&amp;gt;&lt;BR /&gt;&amp;lt;/books&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Jul 2014 13:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-large-XML-file-to-smaller-files/m-p/2326592#M96064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T13:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Split large XML file to smaller files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-large-XML-file-to-smaller-files/m-p/2326593#M96065</link>
      <description>Why is this so hard within Talend ?
&lt;BR /&gt;it's not !
&lt;BR /&gt;You should create your metadata XML for input and output.
&lt;BR /&gt;then 
&lt;BR /&gt;you create a job, with a tFileInputXML and a tAvancedFileOutputXML by drag &amp;amp; drop metadata on designer view.
&lt;BR /&gt;you link the 2 components together by a main link, schema sould be the same, check only java type.you can use a tConvertType too
&lt;BR /&gt;and last step : 
&lt;BR /&gt;in the advanced setting of the tAvancedFileOutputXML you check split output and set number of rows by file</description>
      <pubDate>Fri, 04 Jul 2014 15:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-large-XML-file-to-smaller-files/m-p/2326593#M96065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T15:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Split large XML file to smaller files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-large-XML-file-to-smaller-files/m-p/2326594#M96066</link>
      <description>But can I simple loop through the booms and without specifying the contents within a book, copy all the books?</description>
      <pubDate>Fri, 04 Jul 2014 16:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-large-XML-file-to-smaller-files/m-p/2326594#M96066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T16:06:43Z</dc:date>
    </item>
  </channel>
</rss>

