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

Re: [xsl] Top Ten Java and XSLT Tips, #5


Subject: Re: [xsl] Top Ten Java and XSLT Tips, #5
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Fri, 31 Aug 2001 11:51:14 -0400

[Julian Reschke]

> Thomas,
>
> how you declare non-breaking spaces in your XSLT code (&#0160; or &nbsp;)
> has no effect whatsoever on it's output.
>
>

Not necessarily.  If you use output escaping to place the ***text
characters*** "&nbsp;" into your output, you have something different from
what you would get if you used &#160; , which would place a single character
into the output.  It's possible a browser might treat them differently
(although it shouldn't).

If you used an entity declaration to define the entity &nbsp; as equal to
the value of &#160;, then your statement would apply.

Cheers,

Tom P


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords