We help IT Professionals succeed at work.

How to a &nbsp in XSLT

cookiejar
cookiejar asked
on
I would like to know how to insert &nbsp in XSLT.  I have attached the .xml file and the .xsl file.  My data display in the browser with on 1 space between column. I want to move the columns over with &nbsp.
practice.xsl
practice.xml
Comment
Watch Question

Gertone (Geert Bormans)Information Architect
Top Expert 2006

Commented:
you can insert a non breaking space like this
 
Information Architect
Top Expert 2006
Commented:
in your XSLT, you could wrap that in a xsl:text

<xsl:value-of select="movies/horror/title "/>
<xsl:text>&#160;</xsl:text>
<xsl:value-of select="movies/horror/year"/>