[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] How to get   in HTML


Subject: RE: [xsl] How to get   in HTML
From: "Val Morrison" <vmorrison@xxxxxxxxxxxxxx>
Date: Wed, 7 Jan 2004 10:46:20 -0800

try this:

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



-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jiang,
Peiyun
Sent: Wednesday, January 07, 2004 10:23 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: [xsl] How to get &nbsp; in HTML

I was trying to get &nbsp; in my HTML using XSLT. I tried various
tricks,
but it's not working.

Please help.

--------------------
I was trying to generate some HTML like this:

<tr>
<td>&nbsp;&nbsp;Put two spaces before text</td>
</tr>

I can just output two spaces before the text like this:
<tr>
<td>  Put two spaces before text</td>
</tr>
They will be ignored by browser. The entity seems to work.
--------------------

Thanks.

Peiyun

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





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



Current Thread