如何加载互联网的xml文件?超急!
为什么下面语句没有响应。。。
我机器装有:msxml4.0 sp2
<%
Set xmldoc = Server.CreateObject("MSXML2.DOMDocument.4.0")
xmldoc.setProperty "ServerHTTPRequest", true
xmldoc.async = false
xmldoc.Load "http://expert.csdn.net/Expert/topic/2306/2306289.xml?temp=.792782"
'Check for a successful load of the XML Document.
if xmldoc.parseerror.errorcode <> 0 then
Response.Write "Error loading XML Document :" & "<BR>"
Response.Write "----------------------------" & "<BR>"
Response.Write "Error Code : " & xmldoc.parseerror.errorcode & "<BR>"
Response.Write "Reason : " & xmldoc.parseerror.reason & "<BR>"
Response.End
End If
%>