cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KOZLOV Roman <r-koz...@opencascade.com>
Subject Re: CDATA output / Server Upgrage
Date Mon, 03 Jun 2002 08:55:10 GMT
You could try xsl:text with disable-output-escaping attribute:
<xsl:text disable-output-escaping="yes"><![CDATA[ some characters like <
>...]]></xsl:text>

Roman

George Pieri wrote:

> In alot of our xsl stylesheets we wrap xml and
> javascrip within !<CDATA[  xxxx  ]]> tags
> so that it is not parsed.
>
> This has worked well for us with the output being
> delivered successfully.
>
> Using the new version of our web server, Weblogic 7.0,
> this appears no longer to work and our CDATA sections
> get interperted and changed to &lt;  xxxxx &gt; tags !?!
>
> What could be affecting this. Any ideas ?
>
> e.g.
> ---------------
> xsl code
> ----------------
>  <maintag></maintag>
>  <![CDATA[<maintag></maintag>]]>
>
> ---------
> output
> --------
> <maintag></maintag>
> &lt;maintag&gt;&lt;/maintag&gt;
>
> ------------------------------------------
> output in previous version of web server
> ----------------------------------------
> <maintag></maintag>
> <maintag></maintag>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message