开发者

mime type for text file through xslt

开发者 https://www.devze.com 2022-12-14 05:44 出处:网络
I just want to know that what is the MIME type i need to give if i am generating text file from xml us开发者_开发技巧ing xslt?text/xml likely won\'t be the narrowest type you can give, but it should w

I just want to know that what is the MIME type i need to give if i am generating text file from xml us开发者_开发技巧ing xslt?


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


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".

0

精彩评论

暂无评论...
验证码 换一张
取 消