Hi Wendy.
The MSXML parser can save to a file directly. Check
http://msdn.microsoft.com/xml/xmlguide/server-saving.asp
[QUOTE]
Saving XML
You can save XML on the server using the save method, as shown in the
following excerpt:
<%
Response.Expires = -1000;
if (Request.ServerVariables("REQUEST_METHOD") == "POST")
{
// Load the posted XML data and save it to disk.
xmldoc.load(Request);
xmldoc.save(Server.MapPath("saved.xml"));
%>
Ok
<%
}
%>
The MapPath method resolves relative paths into the full paths required on
the server.
[END QUOTE]
Cheers
Guy
xsl-list@xxxxxxxxxxxxxxxx on 05/12/99 04:19:53 AM
To: xsl-list@xxxxxxxxxxxxxxxx
cc: (bcc: Guy Murphy/UK/MAID)
Subject: RE: XML and ASP
I have writen an ASP page that produces XML which is sent to
the browser.
Now I want to put the XML out to file rather than to the browser
without using
file.Write "<Element>data</Element>"
through out the entire ASP page
Id like to the entire results of the ASP page a output it
to file.
Has anyone done this?
Does anyone have any sugestions?
Regards Wendy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|