The following code works perfectly on Firefox rendering the page according to a predefined CSS file. The issue I am having now is that IE 7 is unable to append the element list[0] which denotes a Node. While I'm getting the information from the XML file loading properly with Firefox, IE is not displaying anything. Down below I put part of my javascript with the XML file that the information is being extracted from. Maybe someone out there has already had a problem similar to this, any help is greatly appreciated. Thanks.
Javascript:
function buildContent(){
var contentsec = document.getElementById("infocontent");
var list = req.responseXML.getElementsByTagName("content");
contentsec.appendChild(list[0]);
}
XML
<?xml version="1.0" encoding="utf-8"?>
<content>
<h1>Blah Blah Blah</h1>
<h2>Blah Blah Blah Blah Blah Blah</h2>
</content>