OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



> From: Kevin Burges [mailto:xmldude@burieddreams.com]
> Sent: Thursday, November 29, 2001 10:40 AM
> To: K. Ari Krupnikov
> Cc: xml-dev@lists.xml.org
> Subject: Re[2]: [xml-dev] Sharing Techniques: White Spaces in HTML pages
> by XSLT
>
>
>
> KAK> Why not simply use   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.