I have a really stupid problem I have not been able to solve (Firefox2) :

I have an xhtml page that must load an xml file with JavaScript, extract same values and print them.
Everything goes in the right way, until I make the xhtml page print a value twice:

HTML Code:
<body onload="LoadXMLdata()">
   value = <span id="value" />            <!-- ok -->
   value = <span id="value" />            <!-- here no value is printed! -->
It must not be possible that when a variable is printed, it is automatically reset!