[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT for usable yet valid XHTML

Subject: Re: XSLT for usable yet valid XHTML
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Wed, 06 Apr 2005 08:49:24 -0700
xslt parse xhtml
David Carlisle wrote:
actually most current browsers (IE, mozilla, opera, etc) can, and will,
correctly parse XHTML (and any XML) If it is served with an XML mime
type rather than an html one. IE (but not the others) then needs a
client side stylesheet to style the xhtml<snip/>



no it doesn't. See:


http://livestoryboard.com

that is an example which confirms what I said, not contradicts it.
It is sent as html:

text/html; charset=UTF-8

so (presumably) uses mechanisms to ensure that the XML syntax is close
enough to HTML to get past a browser's lax html parser.

The comment of mine that you quote refers to sending the file with an XML
mime type when it will be parsed with a real XML parser (msxml in IE and
I think an expat derivative in mozilla).


I suppose I should have snipped more. I was referring to the part about needing a client side transformation.

best,
-Rob



David

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.