Fixed the XML parser issue for IE8/7