Re: [xsl] escaping <![CDATA[

Subject: Re: [xsl] escaping <![CDATA[
From: "Steve Muench" <Steve.Muench@xxxxxxxxxx>
Date: Tue, 20 Mar 2001 19:40:51 -0800
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


Current Thread