MSXML2.DOMDocument

ninel

Active member
Joined
Mar 23, 2005
Messages
32
Location
Land O Lakes, Florida
Programming Experience
3-5
I am using classic asp to load xml.
I used the following code to instantiate the object:

Set xmldoc = server.CreateObject("msxml2.DOMDocument")
xmlDoc.async = False
xmlDoc.validateOnParse = True
xmlDoc.resolveExternals = False

xmlDoc.LoadXml(sRequestXML)

The problem is that when I type xmldoc. the intellesence does not appear. When I loop through to pull out a particular element nothing is there.

I tried this in VB6 and in VB.Net and the intellesence appeared and I got a value of the element.

Am I doing something wrong in the classic asp? Do I need to reference some other dll? How can I tell if it's even pointing to the MSXML2 dll?

Thanks,
Ninel
 
Back
Top