tags:

views:

28

answers:

3

I just want to know that what is the MIME type i need to give if i am generating text file from xml using xslt?

+1  A: 

text/xml likely won't be the narrowest type you can give, but it should work, since everything you are touching is xml.

Charles Stewart
+1  A: 

The MIME type has nothing to do with how a file was generated. It is used to assist the browser to display it correctly. If you want the browser to open it as text use "text/plain". If you want to open it as html use "text/html".

kgiannakakis
A: 

Thanks to both of u got it. :)

It's good to show that the question isn't live by clicking on the tick icon (to the left of one each answers, underneath the vote up/down icon) that you think gives a good answer. You'll get a badge for it, if you care...
Charles Stewart