Re: [xsl] RE: [xsl] RE: [xsl] RE: [xsl] RE: [xsl] Re: [xsl] RE: [xsl] Re: [xsl]   is being displayed as Á

Subject: Re: [xsl] RE: [xsl] RE: [xsl] RE: [xsl] RE: [xsl] Re: [xsl] RE: [xsl] Re: [xsl]   is being displayed as Á
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 11 Dec 2001 18:18:11 GMT
> Could somebody explain to my WHY '&amp;' translates to '&' but '&amp;nbsp;'
> doesn't change at all?

It doesn't. &amp; produces a sngle & character in the input.
When serialised to the output, an & will be written out a &amp;.

Following this by nbsp; changes nothing.

> And, how would you suggest someone actually get '&nbsp;' into the output in

use &#160; 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 &nbsp; or &#160; 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


Current Thread