RE: [xsl] Problems rendering nbsp entity

Subject: RE: [xsl] Problems rendering nbsp entity
From: John Aschenbrenner <jaschenbrenner@xxxxxxxxxxxxxxx>
Date: Fri, 27 Sep 2002 16:21:49 -0700
BTW... I fixed the problem by switching from MSXML DOMDocument3 to
DOMDocument4... go figure.

-----Original Message-----
From: John Aschenbrenner [mailto:jaschenbrenner@xxxxxxxxxxxxxxx]
Sent: Friday, September 27, 2002 1:55 PM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: [xsl] Problems rendering nbsp entity


No, but then the problem isn't outputting the &#160; It is the way the
Browser IE is rendering it.

-----Original Message-----
From: Matt MacDougall [mailto:matt@xxxxxxxxxxxxxxx]
Sent: Friday, September 27, 2002 12:03 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Problems rendering nbsp entity


have you tried an entity ref at the start of the document like:

<?xml version="1.0"?>
<!DOCTYPE stylesheet [
	<!ENTITY nbsp "&#160;">
]>

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of John
Aschenbrenner
Sent: Friday, September 27, 2002 1:37 PM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: [xsl] Problems rendering nbsp entity


Thanks, Jarno.  I've tried both utf-8 and utf-16 with the same results.  I
know that NO-BREAK SPACE does look like a space but it sure would be great
if I could just output a '&nbsp;'.

-----Original Message-----
From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
Sent: Wednesday, September 25, 2002 11:07 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Problems rendering nbsp entity


Hi,

> I know I've seen this before but I can't seem to find it in 
> the archives.
> My apologies if this has been answered one too many times.

It probably has been, yes.

> In the past when I wanted to render a non blanking space when 
> using XSL to
> render HTML I have just used the entity &#160;
> I've even noticed that the &#160; entity is rendered as 
> &nbsp; in the HTML
> file when using the Saxon parser.  Most of the time MSXML 
> will render this
> appropriately as well.  However for some reason this does not 
> work this time
> when using that parser.  Now instead of getting the nicely formatted
> document that I want, I end up with question marks all over 
> the place.  When



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

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

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


Current Thread