Subject: RE: Inserting White Space ( ) through XSL.
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 3 May 2004 12:07:45 +0100
|
> As I have already, l had tried " ". But it was not working.
> 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.
>
> FYI, stuff that worked for me is:
> <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
> And this inserts in the output.
>
If there is a difference in the way the browser displays a
non-breaking-space versus the way it displays the HTML entity reference & n
b s p ; then there is something badly broken in your system, and you should
find out what it is rather than circumventing the problem at the XSLT level.
Michael Kay
|