[Home] [By Thread] [By Date] [Recent Entries]


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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member