[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: "Animesh Sharma" <asharma@xxxxxxxxxxxxxxxx>
Date: Mon, 3 May 2004 12:49:06 +0530
nbsp xsl
Thanks Everyone.

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. 

Thanks once again.

Regards,
Animesh


-----Original Message-----
From: Passin, Tom [mailto:tpassin@xxxxxxxxxxxx]
Sent: Friday, April 30, 2004 8:47 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Inserting White Space (&nbsp; ) through XSL.


> From: Animesh Sharma [mailto:asharma@xxxxxxxxxxxxxxxx] 
> 
> Yeah, you are perfectly right saying that. 
> but I know a solution for the HTML part of my problem. But 
> doesn't know how to generate it thorugh XSL. i.e. how to 
> generate "&nbsp" through XSL. 

"&#160;" is equivalent to "&nbsp;".  Either causes the browser to insert
the same character into the document (if not, it would be very unusual,
to say the least).

When I tried your template (without, of course, the part that selects
text from your source document), I did in fact get visible borders on
the cells (in Internet Explorer).

So you need to track down what output you are really getting, and what
is causing cause it to be different from what you expected.  For
example, maybe another template is getting invoked here instead of the
one you expect.  No one here can help you further, given the information
you have provided.

Cheers,

Tom P

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.