title: Want to split an UNIX xml file based on tags
body: <p>I've a XML file with batches like below.</p>
  
  <p>I want to split this file into 5 files based on the tags using shell scripting. 
  Please help, thanks in advance.</p>
  
  <pre><code>&lt;Items&gt;
  &lt;Item&gt;
  &lt;Title&gt;Title 1&lt;/Title&gt;
  &lt;DueDate&gt;01-02-2008&lt;/DueDate&gt;
  &lt;/Item&gt;
  &lt;Item&gt;
  &lt;Title&gt;Title 2&lt;/Title&gt;
  &lt;DueDate&gt;01-02-2009&lt;/DueDate&gt;
  &lt;/Item&gt;
  &lt;Item&gt;
  &lt;Title&gt;Title 3&lt;/Title&gt;
  &lt;DueDate&gt;01-02-2010&lt;/DueDate&gt;
  &lt;/Item&gt;
  &lt;Item&gt;
  &lt;Title&gt;Title 4&lt;/Title&gt;
  &lt;DueDate&gt;01-02-2011&lt;/DueDate&gt;
  &lt;/Item&gt;
  &lt;Item&gt;
  &lt;Title&gt;Title 5&lt;/Title&gt;
  &lt;DueDate&gt;01-02-2012&lt;/DueDate&gt;
  &lt;/Item&gt;
  &lt;/Items&gt;
  </code></pre>
  
  <p>Desired output:</p>
  
  <pre><code>&lt;Items&gt;
  &lt;Item&gt;
  &lt;Title&gt;Title 1&lt;/Title&gt;
  &lt;DueDate&gt;01-02-2008&lt;/DueDate&gt;
  &lt;/Item&gt;
  &lt;/Items&gt;
  </code></pre>