problem with an 'object error'

Results 1 to 2 of 2

Thread: problem with an 'object error'

  1. #1
    Join Date
    Dec 1969

    Default problem with an 'object error'

    Hi havin problems withbthe code below. keeps coming back with Object required: &#039;[object]&#039; error. guessing it doesnt like the documentElement part. Anyone know any fixes???<BR><BR><BR><BR>url = "" <BR>&#039;****Get competitor Prices from site******* <BR>set xmldom = server.CreateObject("Microsoft.XMLDOM")<BR>Set xmlHttp = Server.CreateObject("Microsoft.XMLHTTP") <BR><BR>xmlHttp.Open "POST", url ,False <BR>xmlHttp.Send post<BR><BR>Set xmldom = xmlHttp.responseXML<BR><BR>&#039;Doesnt like the line below<BR><BR>for each x in xmldom.documentElement.childNodes<BR><BR>response. write("&#060;b&#062;" & x.nodename & "&#060;/b&#062;")<BR>response.write(": ")<BR>response.write(x.text)<BR>response.write("<B R>")<BR>next<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Maybe try loading

    the document with returned XML string<BR><BR>xmldom.async = False<BR>xmldom.loadXML(xmlHttp.responseXML)<BR><B R>Pete

Posting Permissions

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