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: [xml-dev] Sharing Techniques: White Spaces in HTML pages by XSLT



Liping Li wrote:
> 
> I came up [with]
> several ways to insert white spaces into HTML pages
> transformed from XML document by XSLT.

> http://www.mycgiserver.com/~~lisali/papers/paper.htm

Why not simply use   as Mike Kay suggests on p. 135 of his XSLT
Reference? And if you really want a general entity named nbsp, simply
say as the HTML DTD does:

<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>

Ari.