You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David Allen <ho...@dial.pipex.com> on 2001/11/23 09:09:55 UTC
Passing markup Symbols through Cocoon
As the designers of Cocoon decided not to support the xsl:text attribute
disable-output-escaping I have a small problem to solve.
My XSLT stylesheet contains lines such as the following:
<SPAN STYLE="color:blue"><xsl:text
disable-output-escaping="no"></</xsl:text></SPAN>
I am looking to pass through the < entity so that the browser looking
at the
html will display the symbol < and not interpret it as a tag marker. In
other
words I want output like:
<SPAN style="color:blue"></</SPAN>
and not
<SPAN style="color:blue"></</SPAN>
that Cocoon is giving me.
Is there any way of solving this problem?
David Allen
--
International Press Telecommunications Council
Working to improve the efficiency of News exchange.
Visit our Web Site at http://www.iptc.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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Passing markup Symbols through Cocoon
Posted by David Allen <ho...@dial.pipex.com>.
Martijn
Thanks for the suggestion. However, having tried several ways of using the
<![CDATA[ ]]>construct it still fails to produce the required result.
David Allen
Martijn Bouterse wrote:
> David Allen wrote:
> >
> > As the designers of Cocoon decided not to support the xsl:text attribute
> > disable-output-escaping I have a small problem to solve.
> >
> > My XSLT stylesheet contains lines such as the following:
> > <SPAN STYLE="color:blue"><xsl:text
> > disable-output-escaping="no"></</xsl:text></SPAN>
> > I am looking to pass through the < entity so that the browser looking
> > at the
> > html will display the symbol < and not interpret it as a tag marker. In
> > other
> > words I want output like:
> > <SPAN style="color:blue"></</SPAN>
> > and not
> > <SPAN style="color:blue"></</SPAN>
> > that Cocoon is giving me.
> > Is there any way of solving this problem?
> > David Allen
>
> I think the solution to your problem is to use this container:
> <![CDATA[put_anything_here]]>
>
> Regards,
> Martijn Bouterse
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
--
International Press Telecommunications Council
Working to improve the efficiency of News exchange.
Visit our Web Site at http://www.iptc.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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Passing markup Symbols through Cocoon
Posted by Martijn Bouterse <ma...@surfnet.nl>.
David Allen wrote:
>
> As the designers of Cocoon decided not to support the xsl:text attribute
> disable-output-escaping I have a small problem to solve.
>
> My XSLT stylesheet contains lines such as the following:
> <SPAN STYLE="color:blue"><xsl:text
> disable-output-escaping="no"></</xsl:text></SPAN>
> I am looking to pass through the < entity so that the browser looking
> at the
> html will display the symbol < and not interpret it as a tag marker. In
> other
> words I want output like:
> <SPAN style="color:blue"></</SPAN>
> and not
> <SPAN style="color:blue"></</SPAN>
> that Cocoon is giving me.
> Is there any way of solving this problem?
> David Allen
I think the solution to your problem is to use this container:
<![CDATA[put_anything_here]]>
Regards,
Martijn Bouterse
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>