title: How to create a boolean value?
body: <p>I am totally new to XSLT and can't work out where I am going wrong with the following code.</p>
  
  <pre><code>&lt;xsl:variable name="var" select="boolean('false')"/&gt;
  
  &lt;xsl:if test="$var'"&gt;variable is true&lt;/xsl:if&gt;
  </code></pre>
  
  <p>It is always returning true when it is meant to be false. Why?</p>