Excuse me for the very cryptic name but this is the weirdest (although very small) problem I've ever encountered.
var x = 5;
var x = xmlDoc.getElementsByTagName("x").childNodes.nodeValue;
The weird thing is that when I try to get the output at both by putting a
after the code they both say they are initialized to 5 so what is going on here?
A similar problem is when I get a number from xml, i.e. 20, then I add 1 to that number and then when I print it, the number has for no reason turned into 200.