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>
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact