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



> 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?
>

Is your XSLT output supposed to be HTML ? What charset are you using ?
Do you really need special (non-breaking) spaces, or will regular whitespace
do ?

Cheers,
Jonathan