xsl-list
[Top] [All Lists]

Re: cdata-section-elements

2003-10-24 06:27:03
yes, that did it.
thank you, wendell.

abie
Abie,

While cdata-section-elements will provide the serializer with the hint that you want the contents of the <script> element in the output to be wrapped in a CDATA marked section, it does not mean your stylesheet is now exempt from the rules of well-formedness.

Having the unescaped "<" in your stylesheet prevents it from being parsed: that's why you get the error.

If you escape the "<" to &_lt; in your stylesheet, and designate <style> as a cdata-section element, you should get the results you want.

Cheers,
Wendell

_________________________________________________________________
See when your friends are online with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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