<?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 Split a big xml file into small files with header in each small files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Split-a-big-xml-file-into-small-files-with-header-in-each-small/m-p/2364950#M128625</link>
    <description>I would like to split a big xml file which has over 2000 POs into small files which has only 200 POs in each file (or one in each file). All the content in each file should be the same as big file, with the same header as well.&amp;nbsp; 
&lt;BR /&gt;This image is the big xml structure (left). Right side is the small file I would like to split. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBGm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149896iF362542A3566BBA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBGm.png" alt="0683p000009MBGm.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB9h.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146436i4685D2C0CD766038/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB9h.png" alt="0683p000009MB9h.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Do you know any way to do this? 
&lt;BR /&gt;Thank you!</description>
    <pubDate>Wed, 05 Aug 2015 20:22:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-05T20:22:15Z</dc:date>
    <item>
      <title>Split a big xml file into small files with header in each small files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-big-xml-file-into-small-files-with-header-in-each-small/m-p/2364950#M128625</link>
      <description>I would like to split a big xml file which has over 2000 POs into small files which has only 200 POs in each file (or one in each file). All the content in each file should be the same as big file, with the same header as well.&amp;nbsp; 
&lt;BR /&gt;This image is the big xml structure (left). Right side is the small file I would like to split. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBGm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149896iF362542A3566BBA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBGm.png" alt="0683p000009MBGm.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB9h.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146436i4685D2C0CD766038/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB9h.png" alt="0683p000009MB9h.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Do you know any way to do this? 
&lt;BR /&gt;Thank you!</description>
      <pubDate>Wed, 05 Aug 2015 20:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-big-xml-file-into-small-files-with-header-in-each-small/m-p/2364950#M128625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-05T20:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Split a big xml file into small files with header in each small files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-big-xml-file-into-small-files-with-header-in-each-small/m-p/2364951#M128626</link>
      <description>Read the big XML file with tFileInputXML, rewrite the XML file with tAdvancedFileOutputXML with 'split output in several files' option, configure the rows in each output file.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 06 Aug 2015 02:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-big-xml-file-into-small-files-with-header-in-each-small/m-p/2364951#M128626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-06T02:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Split a big xml file into small files with header in each small files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-big-xml-file-into-small-files-with-header-in-each-small/m-p/2364952#M128627</link>
      <description>Shong, thanks for the reply. 
&lt;BR /&gt;When I use tFileInputXML to read file in and use tAdvancedFileOutputXML rewrite xml, do I have to define each field (column) one by one again? 
&lt;BR /&gt;For example, I would like to split output by&amp;nbsp;PurchaseReceipt node. But under&amp;nbsp;PurchaseReceipt node there are over 100 fields there. Do I have to define each field again and map them from input to output? Is there a way I can just rewrite all fields under PurchaseReceipt to the new splitted xml file.&amp;nbsp; 
&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 07 Aug 2015 19:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-big-xml-file-into-small-files-with-header-in-each-small/m-p/2364952#M128627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T19:23:55Z</dc:date>
    </item>
  </channel>
</rss>

