xsl-list
[Top] [All Lists]

Re: [xsl] Troubles with libxslt in PHP again: CDATA in <script>

2007-10-11 06:39:18


I'm using "xml" output method and XHTML 1.0 Strict doctype. I also
have to stick to "text/html" 

That is the cause of your problem. You have asked XSLt to generate XML
but are then telling the browser that you are sending html. the most
noticable place where teh sntaxes are incompatible is in script
elements.

So the simplest course of action is to use the html output method.

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. 
________________________________________________________________________

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