[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Content of Script element getting wrapped by CDATA
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 23 Oct 2008 22:55:52 +0100

>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


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


Current Thread
Keywords