add initial findings
This commit is contained in:
15
c2015/lib/xml/xmlLib.js
Normal file
15
c2015/lib/xml/xmlLib.js
Normal file
@@ -0,0 +1,15 @@
|
||||
function getInternalXML(url){
|
||||
var xhttp, xmlDoc;
|
||||
if (window.XMLHttpRequest)
|
||||
{
|
||||
xhttp=new XMLHttpRequest();
|
||||
}
|
||||
else // code for IE5 and IE6
|
||||
{
|
||||
xhttp=new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
xhttp.open("GET",url,false);
|
||||
xhttp.send();
|
||||
xmlDoc=xhttp.responseXML;
|
||||
return xmlDoc;
|
||||
}
|
||||
Reference in New Issue
Block a user