Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "Animesh Sharma" <asharma@---------------->
To:
Date: 5/3/2004 6:07:00 PM
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: [xsl] 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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent