title: update xml file dynamically at runtime
body: <p>How can we edit xml file dynamically at runtime using java program. for eg, I have xml file like this,</p>
  
  <pre><code>&lt;chart&gt;
  &lt;set label="Item A" value="4"/&gt;
  &lt;set label="Item B" value="5"/&gt;
  &lt;set label="Item C" ``alue="6"/&gt;
  &lt;set label="Item D" value="7"/&gt;
  &lt;/chart&gt;
  </code></pre>
  
  <p>I have tried jdom API for update xml at runtime. But it can edit only single value tags. But here i have multitags with same name. I want to change the value dynamically for every  tags at runtime. Can any one suggest me any ideas please. </p>