Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: simple xml output

From: "Anthony Jones" <Ant@------------.--->
To: 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




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent