xsl-list
[Top] [All Lists]

Re: XSLT for usable yet valid XHTML

2005-04-06 08:47:09


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).

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--