[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Inserting White Space (  ) through XSL.

Subject: RE: Inserting White Space (  ) through XSL.
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 3 May 2004 12:07:45 +0100
white space html entity
> As I have already, l had tried "&#160;". 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">&amp;nbsp;</xsl:text>
> And this inserts &nbsp; 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.