About Jeff Allen Expertise I can answer basic to intermediate questions related to Classic ASP.I can answer Intermediate to Advanced questions CSS& HTML, and basic questions about JavaScript and Ajax. I can also answer questions related to web page accessibility under US Section 508.
Experience I have 8 years experience with HTML. I have been developing in ASP, VBScript and CSS for two years each. I also currently work as web developer.
Organizations IWA-HWG
Education/Credentials I have a BA in English with minors in Web Design and Scientific and Technical Writing
Expert: Jeff Allen Date: 9/21/2006 Subject: ASP For DOM
Question Hi
I have following problem in asp for dom
Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.async = false
SourceFile = Server.MapPath("test.xml")
objXML.load SourceFile
XMLQ = "//Root"
NL = objXML.selectNodes(XMLQ)
I got following error
Wrong number of arguments or invalid property assignment: 'NL'
what is wrong with that?
Thanks
Abdul Qadir
Answer Hmmm from this snippet I have to presume you have NL declared somewhere else so its not hat you didn't declare the variable.
Otherwise, I don't see where you have loaded the XML file using something like:
objXML.Load (Server.MapPath("mostRecentScriptingNews.xml")) to load it into the objXML object.