You can use the mod_rewrite to detect whether or not the UA can handle application/xhtml+xml. Visit here to see how: http://schneegans.de/tips/apache-xhtml.html
It is in German, but you you should get the gist from the htaccess commands.
This is a hack, and if you are a purist, you can save your documents as .xhtml and set the mime type for them, but then your only audience will be Gecko users.
|