using System.Net; using System.IO; using System.Xml; ... ... // Get a handle on the remote ressource HttpWebRequest wr = (HttpWebRequest)WebRequest.Create("http://p.moreover.com/cgi-local/page?c=Web%20developer%20news&o=rss"); // Read the response WebResponse resp = wr.GetResponse(); // Stream read the response Stream stream = resp.GetResponseStream(); // Read XML data from the stream XmlTextReader reader = new XmlTextReader(stream); // ignore the DTD reader.XmlResolver = null; // Create a new document object XmlDocument doc = new XmlDocument(); // Create the content of the XML Document from the XML data stream doc.Load(reader); Response.Write(doc.OuterXml);>Hi All,
>< % ERROR: >Response.Buffer = True >Dim objXMLHTTP, xml > >Set xml = Server.CreateObject("Microsoft.XMLHTTP") >xml.Open "GET", "http://www.domain.com/", False > >xml.Send > >Response.Write "<h1>The HTML text</h1><xmp>" >Response.Write xml.responseText >Response.Write "</xmp><p><hr><p><h1>The HTML Output</h1>" >Response.Write xml.responseText > >Set xml = Nothing > % > >>Any Help is Appreciated.