title: Parsing XML using Digester
body: <p>I have a xml and it has a list tag with number of items. </p>
  
  <p>Example:</p>
  
  <pre><code>    &lt;param&gt;
         &lt;id&gt;12345&lt;/id&gt;
         &lt;date&gt;2012/07/10&lt;/date&gt;
         &lt;list&gt;
           &lt;item&gt;
             &lt;name&gt;Test1&lt;/name&gt;
             &lt;code&gt;C1&lt;/code&gt;
           &lt;/item&gt;
           &lt;item&gt;
             &lt;name&gt;Test2&lt;/name&gt;
             &lt;code&gt;C2&lt;/code&gt;
           &lt;/item&gt;
         &lt;/list&gt;
      &lt;/param&gt;   
  </code></pre>
  
  <p>I want to map this in to Java a object using Jakarta Digester framework.</p>
  
  <p>My plan is this.</p>
  
  <ol>
  <li>Create a main ResponseDTO</li>
  <li>Create a ItemDTO</li>
  <li>Add a ItemDTO Array List to ResponseDTO</li>
  </ol>
  
  <p>So after parsing this xml to Jakarta Digester engine I'm expectibg a ResponseDTO with ItemDTO list which are having real values.</p>
  
  <p>Could some one kindly let me know how I can do this using Digester framework.</p>