NodeList value does not get updated?
<p>This statement simply would not update the value of the node in question! Could you please tell me why this is the case or if I'm doing something wrong here?!?</p>

<pre><code>for (int i = 0; i &lt; list.getLength(); i++) {
  temp = list.item(i).toString();
  System.out.println(temp.substring(temp.indexOf("\"")+1, temp.lastIndexOf("\"")));
  list.item(i).setNodeValue(temp.substring(temp.indexOf("\"")+1, temp.lastIndexOf("\"")));
  System.out.println(list.item(i));
}
</code></pre>

<p>Thanks </p>
