cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fo...@neonics.com
Subject Re: HTML entities
Date Thu, 11 Jan 2001 15:23:40 GMT


What works fine for me is:

<![CDATA[&]]>

:)

On Thu, 11 Jan 2001, Donald Ball wrote:

> On Wed, 10 Jan 2001, Parrish Carl-sc4915 wrote:
> 
> > I'm trying to insert HTML entities into my XML stylesheet. So that the
> > resulting html includes &nbsp. This is what I tried to do
> >
> > <td><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text></td>
> >
> > Then I found out Cocoon doesn't support output-escaping. So how would I do
> > this on Cocoon??
> 
> use their numeric equivalents in your XML file (&#160; for &nbsp;) or
> declare the entities in your XML header thingie. look at the
> xdocs/dtd/characters.ent for inspiration.
> 
> - donald
> 
> 
> ---------------------------------------------------------------------
> 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