xsl-list
[Top] [All Lists]

Re: Inserting White Space (  ) through XSL.

2004-05-03 00:28:07
Animesh Sharma wrote:
Thanks Everyone.

As I have already, l had tried " ". But it was not working.

If it isn't working, *something else* is wrong. How are you transforming? Server side? Show us the source code.

BEcause that iserts white space in the output text. and all browser are 
intelligent enough to remove the border incase there is no text found in TD 
element.

No, it doesn't.

FYI, stuff that worked for me is:
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
And this inserts &nbsp; in the output.

It does, but only with some XSLT engines in some configurations. Meaning, it's not portable.

Best regards, Julian


--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760


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