XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 The Road to XHTML 2.0: MIME Types
Subject: Doubt
Date: 2003-03-21 08:01:47
From: Ted Pibil
Response to: Doubt

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.


Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938