Quick Tip: Debugging JavaScript XML problems
5:58 pm on February 18th, 2009, by Andy Tawse
When reading an XML file in JavaScript everything was fine in Firefox but IE didn’t seem to be able to understand it. Seems obvious now but after a lot of head scratching we realised an easy way to find out what IE thinks of an XML file is, of course, to load the XML file directly in IE! It tells you what the error is, in this case the XML document having no root element.