I’ve used xml type by writing (asp coding)
Response.ContentType = "text/xml"
Now xml contents are over and I’d like to add html content so I wrote
Response.ContentType = "text/html"
But it still writing in xml what would be the problem here?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure what you mean. There can only be one ContentType per response. The browser will interpret the whole content of the response as xml.
If you want to get two files with different content types, you’ll have to call them separately.