brolly wrote:I've been reading extensively and must point out that the whole idea of application/xhtml+xml is pointless because ie6 nor ie7 support it. So why bother then?
This isn't an easy answer, and you probably won't like it.
Because its right.
XHTML is meant to enable two things: Easier parsing (for machines/code/programs), and easier maintenance. If you want the easier maintenance, you are better off just making HTML strict.
If, however, you want to be all Web2.0-ish, and enable easy processing of your site for other programs, sites, etc, then XHTML is the clear choice.
Now, if you go the XHTML path, you should follow *all* the rules for XHTML, so that programs that are written to strictly follow standards will not get errors in dealing with your code. Thats what happens when you (incorrectly) serve XHTML as HTML or text, or similar.
But, you quickly shout, IE doesn't support it - oh woe!
Ah, but there is a way to do so. Simply provide an XSLT sheet for it, and even IE can enjoy the wonders of application/xml.
It shouldn't require that. It's a workaround. It's a hack. Its because Microsoft hasn't done any improvements on the most widely used browser in the world for several years - but it will allow you to be both standards compliant, AND jump on the XHTML bandwagon.
weee!
http://www.w3.org/MarkUp/2004/xhtml-faq#ie