This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: outputting &nbsp to HTML (not so final answer)


Aniceto López wrote:

> THANKS Jeni T. for your big efford teaching me.
>
> In this case I can't use <xsl:output encoding="US-ASCII" /> due to
> other important problems and many times this "<td>&nbsp;</td>" is not
> the only way I have to use non-breaking space. Web design is forcing me
> to use &nbsp;&nbsp;&nbsp;&nbsp;... (the only way in htm to have some
> " " concatenated) so I still need the "&nbsp;" and the only solution I fint is
> the so hated <xsl:text disable-output-escaping="yes">&#38;nbsp;</xsl:text>

I had a similar problem and finally resorted to using output
method="text". It's a lot of work escaping all included HTML but it's
working nicely for me now. The bulk of the html is outside the
stylesheet anyway (using a separate dynamic templating system using
PHP).

Emile



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]