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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to