Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - simple xml output >Thread Next - Re: simple xml output Re: simple xml outputTo: NULL Date: 2/7/2008 8:27:00 AM "Tom" <buckit@n...> wrote in message news:OJZUXzRaIHA.208@T...... > I'm working on an ASP app that typically uses XMLHTTP.responseText to write > a received XML document to a database. > > I'm doing some new testing and need to just write a raw xml file (loaded > from a file) to a database field. > > Is there one method or property that can output the entire document tags and > all in one stream? > Typically the server sending the XML should be setting the content type header to text/xml or application/xml. When this content type is present the XMLHTTP object will parse the XML into DOM which you can retrieve as ResponseXML. The DOM Document object has a Save method to which you pass a string containing a file path. BTW, you're actually using ServerXMLHTTP right? XMLHTTP isn't recommend for use with in ASP. -- Anthony Jones - MVP ASP/ASP.NET | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
