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: Using XML mime types in IE
Date: 2003-03-31 04:53:52
From: David Carlisle

As An alternative to sending XHTML with an HTML mime type
one can send it as text/xml so long as you add
a stylesheet PI specifying an identity transform
which IE will accept as XHTML-HTML conversion.


This is particularly useful if you are using XHTML modularisation to use features that are not available in HTML, for example MathML
see
http://www.w3.org/Math/XSL
for an implemenattion of this.
the stylesheets there are complicated by trying to detect available MathML renderes, but the same
basic mechanism with a one line identity XSLt transform
would work for basic XHTML.


Of course you can then extend to do an XHTML2 - HTML XSLT conversion and experiment with XHTML2 in IE6...



David


Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • Using XML mime types in IE
    2003-04-07 06:57:40 Steven Pemberton [Reply]

    "Of course you can then extend to do an XHTML2 - HTML XSLT conversion and experiment with XHTML2 in IE6..."


    Actually, you don't need to use XSLT to experiment with XHTML 2.0 in IE; you can do it out of the box, just using some CSS extensions. See


    http://w3future.com/weblog/gems/xhtml2.xml


    Works with Opera and Mozilla too.

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