Unfortunately, because of the lack of document.write, I haven't been able to figure out how to load the xml data I want and place it into an xhtml file. I have been trying to change the title, but I haven't had any luck. Same with paragraphs. My browsers is Safari Beta 4, and Firefox 3.
I have tried:
title = content.getElementsByTagName("title").childnodes.nodeValue ;
this one was just a test on adding text
var newtext = document.createTextNode(" Some text added dynamically. ");
var para = document.getElementById("p1");
Any help would be appreciated.
Thanks in advance.