This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: escaping <![CDATA[


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]