缺少对象: 'oXML.documentElement'
<%
dbFileName = "\Message.xml"
SourceFile = Server.MapPath("/") & dbFileName
Set oXML = Server.CreateObject("Microsoft.FreeThreadedXMLDOM")
oXML.Load(SourceFile)
Set oRootsite = oXML.documentElement.selectSingleNode("NewList")
%>
问题点数:0、回复次数:4Top
1 楼saucer(思归)回复于 2003-07-02 13:34:48 得分 0
<%
dbFileName = "\Message.xml"
SourceFile = Server.MapPath("/") & dbFileName
Set oXML = Server.CreateObject("Microsoft.FreeThreadedXMLDOM")
oXML.Load(SourceFile)
if oXML.ParseError.ErrorCode <> 0 then
Response.Write oXML.ParseError.Reason
else
Set oRootsite = oXML.documentElement.selectSingleNode("NewList")
end if
%>
Top
2 楼saucer(思归)回复于 2003-07-02 13:36:22 得分 0
also try
oXML.async = false
oXML.Load(SourceFile)
Top
3 楼Bizza(风在哪里)回复于 2003-07-02 15:02:07 得分 0
可以啦,
asyn=false
是什么意思?Top
4 楼saucer(思归)回复于 2003-07-02 21:31:51 得分 0
make the loading synchronousTop




