http://xxx.xxx/abc.xml
本地已能读出该文件到浏览器,如果把它放到Rs中呢?

解决方案 »

  1.   

    tempnode.selectSingleNode(".//" & "xxxxx").Text
      

  2.   

    “读出该文件到浏览器?”<----什么意思?Dim objXMLDoc As new DOMDocument
    objXMLDoc.Load "http://xxx.xxx/abc.xml"
    ...
    set objXMLDoc =nothing
      

  3.   

    试试
        '读取XML文件
        rs.Open "http://xxx.xxx/abc.xml", cn, adOpenStatic, adLockReadOnly, adCmdFile
        MsgBox rs.RecordCount
        rs.Close或者服务端asp文件直接返回
    <%
    set conn=Server.CreateObject("ADODB.connection")
    conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & Server.MapPath("web.mdb")
      dim rs
      Set rs = Server.CreateObject("ADODB.Recordset")
      rs.open "select * from test",conn
      rs.save response,1
      rs.close
    %〉
    然后vb读取
    参考
    http://blog.csdn.net/online/archive/2004/07/07/35994.aspx