if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.open("get", "networkservices.xml", false); xmlhttp.success_action_status = 200; xmlhttp.send(); xmlDoc = xmlhttp.responseXML; xmlObj = xmlDoc.documentElement; var val = xmlDoc.getElementsByTagName("item").length; for (var i = 1; i < val; i++) { var _title = xmlDoc.getElementsByTagName("title")[i].firstChild.nodeValue; var _description = xmlDoc.getElementsByTagName("description")[i].firstChild.nodeValue; var _link = xmlDoc.getElementsByTagName("link")[i].firstChild.nodeValue; var _thumbnail = xmlDoc.getElementsByTagName("media:thumbnail")[i].url;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)