Forum Moderators: open
[w3.org...]
In addition, the following page at xml.com suggests an elegant way through this tangled thicket:
Mozilla, in its infinite wisdom, will tell a server that it accepts application/xhtml+xml
in the HTTP_ACCEPT header that it sends with every request. That's it. All scripting environments
provide access to these HTTP headers; so, armed with this nugget of information, we can devise
a variety of ways to serve up the same page as application/xhtml+xml to browsers that claim to
support it and as text/html to everyone else.[xml.com...]