title: Formatting number in xslt
body: <p>I am trying to format a number in XSLT, but I always get <code>NaN</code> as a result.</p>
  
  <p>Original example number is: <code>1 321.94</code></p>
  
  <p>Code: </p>
  
  <pre><code>&lt;xsl:value-of select="format-number(number(string(.)), '### ##0,00', 'format1')"/&gt;
  </code></pre>
  
  <p>Seems like <code>number(string(.))</code> doesn't work. How can I remove the space from the original number to cope with <code>NaN</code>?</p>