Take the 2-minute tour ×

How can I display &nbsp; in Mozilla using XSL. I've tried CDATA but that didn't work.

I am using Firefox 3.5.5

share|improve this question

3 Answers 3

As you can't place an HTML character entity directly into your XSLT source (except for &lt;, &gt;, &apos;, &quot; and &amp;) you will need to go with numerical entities. So you should to use:

share|improve this answer

Try using &#160; instead of &nbsp;.

share|improve this answer

Use the character entity &#160;.

share|improve this answer
Thanks - fat fingers :( –  Oded Feb 1 '10 at 9:37

Your Answer


