title: Parameter value is null in xsl template
body: <p>I am calling a template as below:</p>
  
  <pre><code>&lt;select class="inline" name="time-of-trip-begin-hour" id="time-of-trip-begin-hour"&gt;
                  &lt;xsl:call-template name="createDropDown"&gt;
                      &lt;xsl:with-param name="count" select="23" /&gt;
                      &lt;xsl:with-param name="selectedValue" select="$dropDownValue" /&gt;
                  &lt;/xsl:call-template&gt;
   &lt;/select&gt;
  </code></pre>
  
  <p>Templete definition:</p>
  
  <pre><code> &lt;xsl:template name="createDropDown"&gt;
              &lt;xsl:param name="index" select="0" /&gt;
              &lt;xsl:param name="count" /&gt;
              &lt;xsl:param name="selectedValue" /&gt;
  
              &lt;xsl:if test="$index &amp;lt;= 9"&gt;
                  &lt;option&gt;
                      &lt;xsl:attribute name="value"&gt;
                          &lt;xsl:value-of select="concat('0',$index)" /&gt;
                      &lt;/xsl:attribute&gt;
  
                      &lt;xsl:value-of select="concat('0',$index)" /&gt;
                  &lt;/option&gt;
                  &lt;xsl:call-template name="createDropDown"&gt;
                      &lt;xsl:with-param name="index" select="$index + 1" /&gt;
                      &lt;xsl:with-param name="count" select="$count" /&gt;
                  &lt;/xsl:call-template&gt;
              &lt;/xsl:if&gt;
              &lt;xsl:if test="($index &amp;gt; 9) and ($index &amp;lt;= $count)"&gt;
                  &lt;option&gt;
                      &lt;xsl:attribute name="value"&gt;
                          &lt;xsl:value-of select="$index" /&gt;
                      &lt;/xsl:attribute&gt;
  
                      &lt;xsl:if test=" $selectedValue = $index "&gt;
                          &lt;xsl:attribute name="selected"&gt;
                              &lt;xsl:value-of select=" 'true' " /&gt;
                          &lt;/xsl:attribute&gt;
                      &lt;/xsl:if&gt;
                      &lt;xsl:value-of select="$index" /&gt;
                  &lt;/option&gt;
                  &lt;xsl:call-template name="createDropDown"&gt;
                      &lt;xsl:with-param name="index" select="$index + 1" /&gt;
                      &lt;xsl:with-param name="count" select="$count" /&gt;
                  &lt;/xsl:call-template&gt;
              &lt;/xsl:if&gt;
    &lt;/xsl:template&gt;
  </code></pre>
  
  <p>However the value of <code>$selectedValue</code> is null everytime although there is value in <code>$dropDownValue</code></p>