Search

Hello, I have this code. The template format-date is the usual file of the default installation.

<xsl:call-template name="format-date">
    <xsl:with-param name="date" select="quando"/>
    <xsl:with-param name="format" select="'D m Y'"/>
</xsl:call-template> <!-- returns NaN -->
<xsl:value-of select="quando"/> <!-- returns 2016-05-20 -->

I can't see what I'm doing wrong... Thanks for any help

SOLVED: the right selector was quando/date/start :/
Sorry for the inconvenience

:P

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details