net_lover [原作]
下面就是简单的例子,这里提供2中方法:
test.htm
SCRIPT
//装载数据
x = "ra name='net_lover'aaaaaaaaaaa/a bbbbbbbb/baaaaaaaaaaaa/abbbbbbbb/b/r"
var source = new ActiveXObject("Msxml2.DOMDocument");
source.async = false;
source.loadXML(x)
alert(source.xml)
// 装载样式单
var stylesheet = new ActiveXObject("Msxml2.DOMDocument");
stylesheet.async = false;
stylesheet.resolveExternals = false;
stylesheet.load("style.xsl");
alert(styleshe...[ 查看全文 ]