RE: [xsl] How to get   in HTML

Subject: RE: [xsl] How to get   in HTML
From: "J. Trevor Harris" <tharris@xxxxxxxxxxxxx>
Date: Wed, 7 Jan 2004 13:29:12 -0500
Assuming you're doing this in XSL I think you can use &#160; .

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Jiang, Peiyun
Sent: Wednesday, January 07, 2004 1:23 PM
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