I have 3 files, (htm, xml, js) to work together fine in IE8, but in IE10 the javascript cannot get xml element:getxml.htm\[code\]<html> <head><title>getxml.htm</title></head> <xml id="myxml" src="http://stackoverflow.com/questions/13871092/myxml.xml"></xml> <script src="http://stackoverflow.com/questions/13871092/getxml.js" language="javascript" type="text/javascript"></script></html>\[/code\]myxml.xml\[code\]<?xml version="1.0" encoding="ISO-8859-1"?><publish></publish>\[/code\]getxml.js\[code\]get_xml_content();function get_xml_content() { alert("get_xml_content"); alert(myxml); // ie8: [object], ie10: [object HTMLUnknownElement] var xmle=myxml.getElementsByTagName("publish").item(0); alert(xmle); // ie8: [object], ie10: null}\[/code\]Alert message from IE8 and IE10 are written as comments above in getxml.js.Appreciate any help, thanks!