I\'m building a site on a Windows Server with ASP enabled. I need to retrieve an XML document from another server and return a value in that document. The xml file is small
Change line 4 of your original snippet to
Set objXML = Server.CreateObject("MSXML2.DOMDocument.6.0")
and line 14 to
Set oRoot = objXML.selectSingleNode("//response")
and you should be fine (assuming your xml is as AnthonyWJones describes).
Your original //xml/response would get the text from a document that looked like this
hello