This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Problems rendering nbsp entity
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 26 Sep 2002 09:41:15 +0100
- Subject: Re: [xsl] Problems rendering nbsp entity
- References: <DBC251EC34B0D411B403000476AAA48279F799@GHMAIL2>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> In the past when I wanted to render a non blanking space when using XSL to
> render HTML I have just used the entity  
Note   isn't an entity (reference) it is a character reference.
> However for some reason this does not work this time
> when using that parser.
Either you have done something wrong or you are using a very broken
parser. Every XML parser will accept  .
Most likely you have requested (or got by default) your output in some
encoding (such as utf8) thatyour html renderer is not understanding.
You should be able to fix any modern browser to detect the encoding, or
output your html in some other encoding such as iso-8859-1
> Is there a way when using MSXML to get it to return the actual entity
> in the rendered HTML instead of some space character. For example instead
> of <td> </td> have it render this <td> </td>
> The problem as many know with using the entity as a
whether or not a system uses an entity reference, a character
refererence or the charaacter itself is not directly controllable from
XSLT. (Some systems have extensions to support that).
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