This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: escaping <![CDATA[
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] escaping <![CDATA[
- From: "Steve Muench" <Steve dot Muench at oracle dot com>
- Date: Tue, 20 Mar 2001 19:40:51 -0800
- References: <3.0.5.32.20010320165336.00b05890@urchin>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Cindy,
| TellMe gateway. This doesn't appear to be fully compliant VoiceXML and it
| requires the contents of <grammar> tags to be contained inside of CDATA
| structures. I'm looking for a way to create CDATA tags and their content on
| the fly wsl XSL. Using <xsl:text><![CDATA[</xsl:text> obviously won't work.
Assuming your XSLT engine you're using with Cocoon
supports <xsl:output>, if you add an:
<xsl:output cdata-section-elements="grammar"/>
as a child element of your <xsl:stylesheet> element,
that should do it.
______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly
http://www.oreilly.com/catalog/orxmlapp/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list