>>>Wouldn't it be possible to extract the document.tostring or the form.outerhtml and write that using VFP's STRTOFILE(), or am I missing something obvious?
>>
>>Yeah, you could do that, but it wouldn't do the same thing. IE's SaveAs function creates a folder in the save to directory and stores all the images in the pageand changes the src property of each IMG tag, so the page can actually be viewed offline.
>
>Understood, but the scope of the inquiry was to save a returned XML document, so I thought it might work. Just a SWAG, IAC.
Ok. But if this is the case, and he is using IE5, he should just be using the xml property of the DOM object containing the document.
=STRTOFILE(oIE.Document.XMLDoc.xml, "c:\myfile.xml")
Erik Moore
Clientelligence