Get.html code: The following is the referenced content:
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en"
"Http://www.w3.org/TR/html4/loose.dtd" >
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<title> How to use www.111cn.net</title>
<body>
<script language= "javascript" type= "Text/javascript" >
var get_xml;
function Get_getxml () {
Get_xml = new ActiveXObject ("Microsoft.XMLDOM");
Get_xml.async=true;
Get_xml.onreadystatechange = Getready;
Get_xml.load ("Data.xml")//xml the URL of the file
}
Function Getready () {
if (get_xml.readystate==4) {
if (get_xml.parseerror.errorcode==0) {
document.write ("<br/>");
Var I,c,d,line,link;
var Events = get_xml.documentElement.selectNodes ("//events/item");
Var j=events.length;
line = Events.item (0);
D=line.attributes.length;
document.write ("<br/>");
for (i=0;i<j;i++) {
line = Events.item (i);
D=line.attributes.length;
for (c=0;c<d;c++) {
document.write (Line.attributes (c). value);
}
document.write ("<br/>");
}
document.write ("<br/>");
}
Delete (get_xml);
}
Get_getxml ()
//by www.111cn.net
</script>
</body>
<?xml version= "1.0" encoding= "Utf-8"?>
<root>
<Events>
<item title= "latest picture alternating flash effect code "/>
<item title=" page refresh and pop-up problem resolution "/>
<item title=" windows for each IP to bounce once a day "/>
<item title=" Help Asp+x " ML How to implement the paging effect "/>
<item title=" Web Effects corner www.111cn.net "/>
<item title=" JS dynamic implementation picture rotation display "/>
</even Ts>
</root>