xsl-list
[Top] [All Lists]

Re: [xsl] Content of Script element getting wrapped by CDATA

2008-10-24 00:15:37
I am sorry, I was referring to the XML declaration.

I once had an experience. When I put the mime type as text/xml, the
page was being downloaded
as if IE doesn't know how to read it. But it was working fine with Firefox.

When I put the xml declaration, the center positioned page floats on
the left side.

On Fri, Oct 24, 2008 at 3:25 AM, David Carlisle 
<davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:


From what I have heard, using XML mime type triggers Quirks mode in IE.

No, quirks and standard mode refers to html rendering. An xml mime type in
IE turns off HTML rendering. The file is read by the xml parser (hence
CDATA sections in script are understood). But unless there is a
stylesheet (xsl for example) then a default stylesheet is applied
which displays the source markup with a folding tree view.

David


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>