title: Adding a IF clause to XSL call-template
body: <p>I'm very new to XSL and am trying to edit someone elses code.</p>
  
  <p>The xsl calls a template "formatAustralianDate" and returns a number. However, if @created is null it returns NaN days</p>
  
  <pre><code> &lt;xsl:call-template name="formatAustralianDate"&gt;
            &lt;xsl:with-param name="dateValue" select="@Created"/&gt;
   &lt;/xsl:call-template&gt; day(s)
  </code></pre>
  
  <p>is there a way I can test if @Created is null (or blank) and if it is, then just return 0 days? or even better, blank </p>