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
At 12:20 PM 10/23/2003, you wrote:
hello,
I'm having a bit of trouble w/ using the cdata-section-elements attribute
of <xsl:output>.
I made this simple exampe, and this doesn' work. what am I doing wrong?
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list