cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Parrish Carl-sc4915 <sc4...@motorola.com>
Subject RE: HTML entities
Date Thu, 11 Jan 2001 18:24:00 GMT
Thank You, Thank You, Thank You, 

&#160; Worked great for me. I'll try looking athe the characters.ent later
as I may need other entities soon. 

Thanks, 

Carl P

-----Original Message-----
From: Donald Ball [mailto:balld@webslingerZ.com]
Sent: Thursday, January 11, 2001 12:06 AM
To: 'cocoon-users@xml.apache.org'
Subject: Re: HTML entities


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