Hi all, I'm familiar with generating office documents server-side by including the following at the top of the response:
<%
Response.Buffer = True
Response.ContentType = "application/msword"
Response.AddHeader "content-disposition", "inline; filename = ASP_Word_Doc.doc"
%>
I'm currently facing the challenge of doing this purely client-side. I've got an XSL transform that successfully generates valid Word XML. Can anybody give me a pointer to how to reproduce this behaviour using purely client-side javascript?
I've found the document.open method, but that only supports text/html.
Ideally I'd like a cross-browser solution - but IE only would be a satisfactory fall-back
cheers, Ian