What is the best way to include an html entity in XSLT?
&am
One space character between text tags should be enough.
Thank you for your information. I have written a short blog post based on what worked for me as I was doing XSLT transformation in a template of the Dynamicweb CMS.
The blog post is here: How to add entities to XSLT templates.
/Sten Hougaard
It is necessary to use the entity #x160;
I had no luck with the DOCTYPE approach from Aku.
What worked for me in MSXML transforms on an Windows 2003 server, was
<xsl:text disable-output-escaping="yes">&#160;</xsl:text>
Sort of a hybrid of the above. Thanks Stackoverflow contributors!
I found all of these solutions produced a  character in the blank space.
Using <xsl:text> </xsl:text>
solved the problem for me; but <xsl:text>#x20;</xsl:text>
might work as well.
You can use CDATA section
<xsl:text disable-output-escaping="yes"><![CDATA[ ]]></xsl:text>
or you can describe   in local DTD:
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]>
or just use  
instead of