I am using an XMLDOC object to get values from an xml document, using the following code:
Set rtnDoc = Server.CreateObject("Microsoft.XMLDOM"
rtnDoc.loadXML(xml.responseText)
Set nodes = rtnDoc.documentElement.childNodes
, but I keep getting the following error:
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'documentElement'
Can anyone please help, before I throw my computer out the window, because this is driving me insane.
I used the documentElement object in some code a few weeks ago and that worked fine then, but that code doesn't work now either.
Thanks.
Set rtnDoc = Server.CreateObject("Microsoft.XMLDOM"
rtnDoc.loadXML(xml.responseText)
Set nodes = rtnDoc.documentElement.childNodes
, but I keep getting the following error:
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'documentElement'
Can anyone please help, before I throw my computer out the window, because this is driving me insane.
I used the documentElement object in some code a few weeks ago and that worked fine then, but that code doesn't work now either.
Thanks.