title: function current-date xslt not working
body: <p>I'm trying to use the current-date function in xslt, but it is not working. May I miss something?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
          xmlns:xs="http://www.w3.org/2001/XMLSchema" 
          xmlns:func="http://exslt.org/functions" 
          xmlns:date="http://exslt.org/dates-and-times"
          extension-element-prefixes="date" date:doc="http://www.exslt.org/date"&gt;
  
          &lt;xsl:output method="xml" indent="yes"/&gt;
            &lt;xsl:template match="/"&gt;
                &lt;value&gt;&lt;xsl:value-of select="current-date()"/&gt;&lt;/value&gt;
            &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>I got an error:Error al comprobar el tipo de la expresión 'funcall(current-date, [])'.', it means "error when check the expresion 'funcall(current-date)'"</p>
  
  <p>why is this not working?</p>