title: How to rename XML node name
body: <p>I want to rename the existing XML node into new name.  I am doing XML parsing using DOM concept java, i have set of node which contains same name. for example</p>
  
  <pre><code>&lt;names&gt; 
      &lt;abc&gt;Apple&lt;/abc&gt; 
      &lt;abc&gt;Ball&lt;/abc&gt;
      &lt;abc&gt;Cat&lt;/abc&gt; 
      &lt;abc&gt;Doll&lt;/abc&gt; 
      &lt;abc&gt;Elephant&lt;/abc&gt; 
      &lt;/names&gt;
  </code></pre>
  
  <p>I the above example there is set of nodes contains value. in that example i want to change the node value (ie)</p>
  
  <pre><code>&lt;names&gt; 
      &lt;name&gt;Apple&lt;/name&gt; 
      &lt;name&gt;Ball&lt;/name&gt;
      &lt;name&gt;Cat&lt;/name&gt; 
      &lt;name&gt;Doll&lt;/name&gt; 
      &lt;name&gt;Elephant&lt;/name&gt; 
      &lt;/names&gt;
  </code></pre>
  
  <p>is this possible to do in DOM, i am pretty much new to parsing concept using DOM..  Thanks for valuable comments.  </p>