What is the difference between serving a page as text/xml and application/xhtml+xml ?
What is the difference between serving a page as text/xml and application/xhtml+xml ?
Share
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.
Quote from the specification:
So use
application/xhtml+xmlto serve your XHTML pages if the client supports it, otherwise you could usetext/html.Another quote from the specification:
text/xmlshould not be used for serving XHTML web pages. You could use it to serve other XML documents that do not represent XHTML.