第二个是 从 http://www.anywhere.com/filename.aspx 这个网页中, 专门Response.Write一段xml字符串, 把它加载进来
第三个也是这样, 不同的是, .aspx 输出的xml是动态的, 而 .xml是一个固定的文件.aspx中这么写:Response.Clear(); //准备输出xml
Response.Write("<?xml version=\"1.0\" ?>");
Response.Write("<result><id>123</id><name>hello</name></result>");
Response.End(); //结束输出,

解决方案 »

  1.   

    又出问题了!!!!!!!!!!!如下
    doc.Load("http://www.anywhere.com/filename.aspx")
    在这里,是不是要先执行filename.aspx的Page_Load()事件,
    若是,那么上面的代码
             Response.Clear(); //准备输出xml
             Response.Write("<?xml version=\"1.0\" ?>");
             Response.Write("<result><id>123</id><name>hello</name></result>");
             Response.End(); //结束输出,
    是不是必须放在Page_Load()里面啦?
    能不能把你具体的应用程序的代码贴上来?