[xsl] forcing nbsp; to appear in html output

Subject: [xsl] forcing nbsp; to appear in html output
From: Nicole Giampapa <NGiampapa@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Dec 2000 11:19:45 -0500
Sorry to ask such a simple question, but I'm stumped. I'm using MSXML3
processor, and I can't get this to work. I need to have a non-breaking space
in my html output, because I have users accessing the site using Netscape
4.72, and if a cell in the table is empty, it doesn't display the
appropriate blue cell background.

I found this reference in the book and tried the following:

<xsl:output method="html"/>

<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>

This parses without error, but when I look at the output in Netscape,
there's no <<&nbsp;>> there, there's just a blank space, so my cell is still
blank.

Can anyone tell me what I'm doing wrong?

Nicole

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread