Platinum Partner

Create A Cross Browser Compatible Dom Document In Javascript

// create a cross browser compatible dom document in javascript


var xmlDoc = null;

if (window.ActiveXObject){
	xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
	xmlDoc.async = "false";
	xmlDoc.loadXML(xmlresults);
}
else if (document.implementation && document.implementation.createDocument){
	xmlDoc= document.implementation.createDocument("","",null);
	xmlDoc.loadXML(xmlresults);
}
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}