Odd problem using XMLHTTP component

Results 1 to 2 of 2

Thread: Odd problem using XMLHTTP component

  1. #1
    Join Date
    Dec 1969

    Default Odd problem using XMLHTTP component

    I&#039;m using the XMLTTP component to grab content from another site. However, whenever I do so, for some reason every instance of &#039; is replaced with ?<BR><BR>If I pull the feed from another random website (like cnn.com) there are no problems. It is simply from this one particular website.<BR><BR>My code looks like this:<BR><BR>Function GetHTML(strURL)<BR> Dim objXMLHTTP, strReturn<BR> Set objXMLHTTP = SErver.CreateObject("Microsoft.XMLHTTP")<BR><BR> objXMLHTTP.Open "GET", strURL, False<BR> objXMLHTTP.Send<BR><BR> strReturn = objXMLHTTP.responseText<BR> Set objXMLHTTP = Nothing<BR><BR> GetHTML = strReturn<BR>End Function<BR><BR>Response.Write GetHTML("http://www.website.com/file.asp")<BR><BR>I cannot fathom a reason of why the particular webpage I&#039;m pulling from is causing problems vs. any other site I try.<BR><BR>Any ideas would be helpful!

  2. #2
    Join Date
    Dec 1969

    Default Try a newer verison of the parser


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts