Click to See Complete Forum and Search --> : Parsing XML with VBScript


lnong
04-29-2004, 06:21 PM
I am using the classes and methods from the Msxml2.DOMDocument.4.0 namespace to dynamically create an XML file using VBScript. (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/xml_mth_sz_3jol.asp). I was able to successfully create the XML and load it into memory for parsing. However, for some reason, I am not able to use the SelectSingleNode() method of the IXMLDOMNode object. The error I get is: "Object doesnt support this property or method. Error code: 800A01B6".

Any ideas?

crh3675
05-05-2004, 04:32 PM
Try using a reference to this object:

Set objXML = Server.CreateObject("Microsoft.XMLDOM")