cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: HTML entities
Date Thu, 11 Jan 2001 07:06:09 GMT
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


Mime
View raw message