<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<html>
<body>
<script language="javascript"> // Load XML var xml = new ActiveXObject("Microsoft.XMLDOM") xml.async = false xml.load("rss3.xml") // Load the XSL var xsl = new ActiveXObject("Microsoft.XMLDOM") xsl.async = false xsl.load("a1-2.xsl") // Transform document.write(xml.transformNode(xsl)) </script>
</body>
</html>
本地用 xml.load("rss3.xml")加载 如果想加载的是(http://***/Rss.asp?ChannelID=20&ClassID=128)这个地址的xml
请问应该怎么写?
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<html>
<body>
<script language="javascript"> // Load XML var xml = new ActiveXObject("Microsoft.XMLDOM") xml.async = false xml.load("rss3.xml") // Load the XSL var xsl = new ActiveXObject("Microsoft.XMLDOM") xsl.async = false xsl.load("a1-2.xsl") // Transform document.write(xml.transformNode(xsl)) </script>
</body>
</html>
本地用 xml.load("rss3.xml")加载 如果想加载的是(http://***/Rss.asp?ChannelID=20&ClassID=128)这个地址的xml
请问应该怎么写?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货