title: How to parse a xml by ANT
body: <p>trying to build a project set file and checkout these projects:</p>
  
  <pre><code>&lt;psf&gt;
    &lt;project ref="version,url,name"/&gt;
    &lt;project ref="version,url,name"/&gt;
    &lt;project ref="version,url,name"/&gt;
  &lt;/psf&gt;
  </code></pre>
  
  <p>now I need extract url and name from each project tag. I used </p>
  
  <p><code>&lt;xmlproperty file="example.psf" collapseAttributes="true" /&gt;</code></p>
  
  <p>but when I </p>
  
  <p><code>&lt;echo&gt;$psf.project.ref&lt;/echo&gt;</code>,</p>
  
  <p>I got something like this, instead of having control to each token on each line: </p>
  
  <p><code>version,url,name,version,url,name,version,url,name</code></p>
  
  <p>Can someone help me with this? thanks</p>