olisemalis
MIS
Hi,
Is it possible to change the content type in client side, using javascript?
For instance, if I get a xml string (calling a web service or whatever) is it possible to render that xml string as a xml file in the same window of the browser (or in a frame in that window, making a document write or something like that). I would like to do it without having to save the string to a file in the file system.
The problem is that I´m using the return value from a web service. In an asp page I could force the content type in the web server, however, as far as I know, I can´t do it using a web service.
Thank you
Is it possible to change the content type in client side, using javascript?
For instance, if I get a xml string (calling a web service or whatever) is it possible to render that xml string as a xml file in the same window of the browser (or in a frame in that window, making a document write or something like that). I would like to do it without having to save the string to a file in the file system.
The problem is that I´m using the return value from a web service. In an asp page I could force the content type in the web server, however, as far as I know, I can´t do it using a web service.
Thank you