title: Need to Split request xml into different xmls
body: <p>We have one request xml and want to process this request xml in batch wise. </p>
  
  <p>Ex 1:</p>
  
  <pre><code>&lt;ApplicationArea&gt;
    ---
    ---
  &lt;/ApplicationArea&gt;
  &lt;DataArea&gt;
  &lt;Employ&gt;
    &lt;eno&gt;&lt;/eno&gt;
    &lt;employName&gt;&lt;/employName&gt;
  &lt;/Employ&gt;
  &lt;Employ&gt;
    &lt;eno&gt;&lt;/eno&gt;
    &lt;employName&gt;&lt;/employName&gt;
  &lt;/Employ&gt;
  &lt;Employ&gt;
    &lt;eno&gt;&lt;/eno&gt;
    &lt;employName&gt;&lt;/employName&gt;
  &lt;/Employ&gt;
  &lt;Employ&gt;
    &lt;eno&gt;&lt;/eno&gt;
    &lt;employName&gt;&lt;/employName&gt;
  &lt;/Employ&gt;
  &lt;Employ&gt;
    &lt;eno&gt;&lt;/eno&gt;
    &lt;employName&gt;&lt;/employName&gt;
  &lt;/Employ&gt;
  &lt;Employ&gt;
    &lt;eno&gt;&lt;/eno&gt;
    &lt;employName&gt;&lt;/employName&gt;
  &lt;/Employ&gt;
  &lt;/DataArea&gt;
  </code></pre>
  
  <p>In This request, There is no limit to Employ reocords.
  Let's say there are 1000 Employs in request xml, In this case i want to divide into number of xmls, batch size is 100. I mean, want to create 10 xmls and each xml contains same <code>&lt;ApplicationArea&gt;</code> but <code>&lt;DataArea&gt;</code> should contain only 50 Employs.</p>
  
  <h2>First xml should contain 1-100 Employs. Second xml should contain 101-200 Employs</h2>
  
  <hr>
  
  <p>How can i achieve this. Please provide suggestions.</p>
  
  <p>Best Regards,
  Ravi</p>