[xsl] non-breaking whitespace

Subject: [xsl] non-breaking whitespace
From: Saverio Perugini <sperugin@xxxxxxxxxxxxxxxx>
Date: Wed, 29 Oct 2003 00:27:53 -0500 (EST)
Hello,

What is the correct (or preferred) method of making a
stylesheet which outputs html (i.e., <xsl:output method="html"/>) to include
a "non-breaking whitespace" in its result?

I have experimented with all of the following, which
most faqs recommend, and none work.  I am using libxslt.

&#160;

<xsl:text>&#160</xsl:text>

&#xA0;

<xsl:text>&#xA0</xsl:text>

Finally, I managed to get
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> to work.

Thanks,
Saverio

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


Current Thread