XML does not understand nbsp. You can define it in your xml page where you add it to your DOCTYPE element:
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]>
now you can use in your xml page!
or you can just use the number everywhere, which is less readable: