cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ypom...@freemail.gr
Subject Re: Re: Removing namespaces - code from FAQ problem
Date Fri, 06 Apr 2007 18:05:22 GMT

> On 06.04.2007 10:08, ypomonh@freemail.gr 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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message