Subject: Re: [xsl] Content of Script element getting wrapped by CDATA From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 22 Oct 2008 23:19:00 +0100 |
but why all the complication over hiding the CDATA section, why not just not have it. If you are outputting as html the CDATA section is clearly in error: you can't have CDATA sections in script (which is a CDATA element so <! doesn't start a marked section in that context) If you are outputting xhtml and sending to an xhtml system the CDATA section isn't needed, but if it is there it will be resolved by the xml parser and not seen by the javascript engine. If the system is adding CDATA in html mode automatically then that would be a bug. 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Content of Script element, Darcy Parker | Thread | Re: [xsl] Content of Script element, Darcy Parker |
Re: [xsl] Elements and functions av, Jesper Tverskov | Date | Re: [xsl] Content of Script element, Joyce Babu |
Month |