xsl-list
[Top] [All Lists]

RE: How to get   in HTML

2004-01-07 11:46:20
try this:

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



-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Jiang,
Peiyun
Sent: Wednesday, January 07, 2004 10:23 AM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
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



<Prev in Thread] Current Thread [Next in Thread>