Re: [xsl] cdata-section-elements

Subject: Re: [xsl] cdata-section-elements
From: "Abie Hamaoui" <ahama5@xxxxxxxxxxx>
Date: Fri, 24 Oct 2003 13:27:03 +0000
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



Current Thread