Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Parseing XML in ASP Page >Thread Next - Re: Parseing XML in ASP Page Re: Parseing XML in ASP PageTo: NULL Date: 11/1/2005 8:50:00 PM Earl F. Kimble Jr. wrote: > As long as you guys are on the subject, I have been trying to do something > similar with the USPS Rat Calculator API. Rat Calculator? Nice one :) > Can I use HttpRequest.responseXML.save without naming a file? If the server you make the HTTP request to sends content with a Content-Type of text/xml or application/xml then the XMLHTTP object parses the response body as XML and populates responseXML as a DOMDocument so you can then do all DOM or XPath stuff with responseXML to extract data. No need to save that to the file system. Either do e.g. HttpRequest.responseXML.selectSingleNode("element-name/child-element-name") or store it in a variable for shorter expressions e.g. Dim RespXml Set RespXml = HttpRequest.responseXML to then use e.g. RespXml.selectSingleNode("element-name/child-element-name") -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
