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
Assuming your Xml is in fact:-
The value
Try using:-
Dim value
value = objXML.documentElement.Text
BTW,
When you call methods from which you are not returning a value you do not need the brackets:-
objXML.Load Url
Response.Write objXML.parseError.reason
Also if this is your server, install MSXML6 and use MSXML2.DOMDocument.6.0. IF this is not your server use MSXML3.DOMDocument.3.0