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

RE: xhtml and ie6

Subject: RE: xhtml and ie6
From: Americo Albuquerque <melinor@xxxxxxx>
Date: Tue, 9 Sep 2003 23:57:31 +0100
mshtml xhtml
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

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.