RE: [xsl] xhtml and ie6

Subject: RE: [xsl] xhtml and ie6
From: Americo Albuquerque <melinor@xxxxxxx>
Date: Tue, 9 Sep 2003 23:57:31 +0100
Hi

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Emmanuil Batsis (Manos)
(...)
> The problem is, if IE (which is, lets say, the target app) opens it 
> using text/xml or application/xhtml+xml, it wont render it 
> properly. On 

Not exactly, the problem is that IE doesn't know what is xhtml, because
of that it deals with it as if it was html. The same happen when you
open a xml file that, for some reason, doesn't have the mime type of
text/xml

If you want to see xhtml as xml just save the following to a reg file
and run it

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.xhtml]
@="xmlfile"
"Content Type"="text/xml"

[HKEY_CLASSES_ROOT\.xhtml\ShellEx]

[HKEY_CLASSES_ROOT\.xhtml\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}
]
@="{EAB841A0-9550-11cf-8C16-00805F1408F3}"


Regards,
Americo Albuquerque

> the other hand, if it opens it using text/html, it will 
> render properly 
> but the internal representation (which is important to any further 
> processing whether it's an API like DOM or an operation like 
> file>save 
> as) will be broken...
> 
> IE's current code base, or rather, components (MSXML and 
> MSHTML) cannot 
> work together so you can't have proper handling of XHTML using IE.
> -- 
> Manos Batsis
> 
>      _  __    __                    __
>     / |/ /__ / /____ __ _ ___ _____/ /_
>    /    / -_) __(_-</  ' Y _ `/ __/ __/
>   /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/
> 
http://www.netsmart.gr
mbatsis at netsmart dot gr
(+30) 210 33 02 608
(+30) 210 33 02 658 http://forte.netsmart.gr/foaf/manos_foaf.rdf




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread