RE: Re[2]: [xml-dev] Sharing Techniques: White Spaces in HTML pages by XSLT

From
Julian Reschke <>
To
Kevin Burges <>, "K. Ari Krupnikov" <>
Date
2001-11-29T10:19:03Z
ID
<>
Thread
RE: Re[2]: [xml-dev] Sharing Techniques: White Spaces in HTML pages by XSLT
> From: Kevin Burges [mailto:]
> Sent: Thursday, November 29, 2001 10:40 AM
> To: K. Ari Krupnikov
> Cc: 
> Subject: Re[2]: [xml-dev] Sharing Techniques: White Spaces in HTML pages
> by XSLT
>
>
>
> KAK> Why not simply use &#xa0; as Mike Kay suggests on p. 135 of his XSLT
> KAK> Reference? And if you really want a general entity named nbsp, simply
> KAK> say as the HTML DTD does:
>
> KAK> <!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>
>
>
> That's what I use, but when my XSLT output goes to other machines,
> the &#160; characters are not always recognised as spaces. How come?

Possibly because you're not properly declaring your content encoding.