title: Ant: Iterating through an XML file's nodes
body: <p>I have the following XML structure:</p>
  
  <pre><code>&lt;servers&gt;
      &lt;hostname&gt;ABC01&lt;/hostname&gt;
      &lt;hostname&gt;ABC02&lt;/hostname&gt;
  &lt;/servers&gt;
  </code></pre>
  
  <p>I need to retrieve a file from each server, from a folder I know, attach it to an email and then send it.</p>
  
  <p>What would be the approach for this?</p>
  
  <p>Thanks.</p>