View Single Post
Old 12-07-2012, 05:26 PM   PM User | #2
007julien
Regular Coder

 
Join Date: May 2012
Location: France
Posts: 115
Thanks: 0
Thanked 17 Times in 15 Posts
007julien is an unknown quantity at this point
Try something like this :

Code:
var i=0,d;
while (d=document.getElementById("Body"+i])) d.innerHTML=xmlDoc.getElementsByTagName("Body")[i++].childNodes[0].nodeValue;
EDIT : Sorry, a Body0 would be necessary to use this script !

Last edited by 007julien; 12-07-2012 at 05:37 PM..
007julien is offline   Reply With Quote