Skip to content

Content Negotiation for XHTML 1.0, XHTML Basic, and XHTML Mobile Profile, Part 1

I’ve researched the recomended practice for each of the document types I’d like to have my server and user agents negotiate among (desktop, pda, and mobile phone).


This one is easy, since we already know what the recomendation for a generic XHTML document is:



Assuming we don’t serve XHTML 1.x documents as text/html, we need to differentiate the above media type slightly in order to (hopefully) differentiate it enough to support content negotiation. The recommended answer comes from RFC 3236:


XHTML Mobile Profile

The WAP Forum is the orginization that defined XHTML MP, so here we reference Page 11 of the XHTML Mobile Profile specification (PDF document):


Yes, I know that document says both that and application/xhtml+xml; profile= are required, but that doesn’t make any sense to require both, although choosing this media type instead would get around the problem of the other one not being registered with the IANA.

Posted in Web.

No Responses (yet)

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

You must be logged in to post a comment.