dcsimg

How can I embed a space in text in an XSL? Using "& nbsp;" treats it as an entity.

Renato Michielin

Tell the XSLT processor not escape the symbol &. Put the escape sequence for the symbol, "& amp;", in a xsl:text element, and set the disable-output-escaping attribute to yes.

<xsl:text disable-output-escaping="yes">
& amp;nbsp;</xsl:text>