This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: [xsl]   is being displayed as Á
- From: Developer Email <DevEmail at digitlearn dot org>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 11 Dec 2001 16:27:20 -0500
- Subject: [xsl] Re: [xsl]   is being displayed as Á
- Reply-to: xsl-list at lists dot mulberrytech dot com
This issue can be avoided altogether by typing a literal non-breaking space
into your template. Windows users can type a non-breaking space with ALT +
0160 (using the numeric keypad on the right of the keyboard, NOT the numbers
arrayed over the letters).
The web browser, encountering this, will no longer read a general entity
representing a non-breaking space; it will read a literal non-breaking
space, and the effect will be the same.
-----Original Message-----
From: David Carlisle [mailto:davidc@nag.co.uk]
Sent: Tuesday, December 11, 2001 1:18 PM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] RE: [xsl] RE: [xsl] RE: [xsl] RE: [xsl] Re: [xsl] RE:
[xsl] Re: [xsl]   is being displayed as Á
> Could somebody explain to my WHY '&' translates to '&' but
'&nbsp;'
> doesn't change at all?
It doesn't. & produces a sngle & character in the input.
When serialised to the output, an & will be written out a &.
Following this by nbsp; changes nothing.
> And, how would you suggest someone actually get ' ' into the output
in
use   that produces a non breaking space in the input, it will be
serialised in some way that is legal xml or html, the exact choice is
left to the xslt engine, it might use or   or just character
data.
> David Carlisle, if there are as you said, "...an average of 1001 posting a
> week for explanations of why this is the case." please let me know what to
> search for in the archive to find ONE of them. Until then get of your
> high-horse.
It's not a high horse, but just exasperation.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list