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

Re: [xsl] Inserting White Space (  ) through XSL.


Subject: Re: [xsl] Inserting White Space (  ) through XSL.
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Mon, 03 May 2004 09:28:07 +0200

Animesh Sharma wrote:
Thanks Everyone.

As I have already, l had tried "&#160;". 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


Current Thread
Keywords