Message URL Javascript Ticker using XML DSO http://someURL.com
上面的脚本非常特别化。下面给出一个更一般的脚本:
<script language='Javascript'> var xmlDso; function load(xmlFile, objName) { eval(''xmlDso='' objName ''.XMLDocument''); xmlDso.load(xmlFile); } </script> Now, to load any XML file use: load('SomeXMLFile.xml','anyXmlDsoObject');(csdn)