asp 读 xml 问题
我的xml来自.net程序,http://mis.cctstar.com/MyInterface/testorder.aspx,程序如下:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
Set xmlobj=Server.CreateObject("Microsoft.XMLDOM")
xmlobj.async=false
xmlobj.Load("http://mis.cctstar.com/MyInterface/testorder.aspx") '载入xml文档
Set oXMLRoot = xmlobj.documentElement
Set oXMLChannel = oXMLRoot.selectNodes("channel")
Set oXMLItems = oXMLChannel(0).selectNodes("item") '// 获取节点长度(个数)
iLength = oXMLItems.length - 1
%>
在我笔记本上(win7)运行好好的,放到生产系统(win2008),就总在第7行("channel")提示我缺少对象,找了很多方法,都没有解决。有了解的大虾请帮我一下。谢谢!