title: text replace in xml using ant
body: <p>I want to change the version number in a xml file using ant.
  I tried ant's replace task but it's not working.</p>
  
  <p>The xml file I have looks like this.</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" 
           xmlns:xsi="http://www.w3.org&lt;br&gt;/2001/XMLSchema-instance" 
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;xyz&lt;/groupId&gt;
      &lt;artifactId&gt;proj&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;pom&lt;/packaging&gt;
  </code></pre>