> On 06.04.2007 10:08, [EMAIL PROTECTED] wrote:
> > I have used the following piece of code from "How can I remove
> > namespaces from my xml files?" from the official FAQ
> > (http://cocoon.apache.org/2.1/faq/faq-xslt.html) but it escapes CDATA
> > sections (eg. "<![CDATA[blah blah]]>").
> >
> > How can I change it to avoid this side-effect..?
> 
> No, the stylesheet does not change anything in regards to CDATA
> sections. I wonder how you added the CDATA section into your XML.

<xsl:text 
disable-output-escaping="yes"><![CDATA[<![CDATA]]>[</xsl:text><xsl:value-of 
select="child::info/child::document/child::sql:rowset/child::sql:row/child::sql:report_query"/><xsl:text>]</xsl:text><xsl:text
 disable-output-escaping="yes">]></xsl:text>

dirty way but <xsl:output method="xml" cdata-section-elements="queryString"/> 
simply didn't work with the xslt transformer :-(


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to