title: Check if date is between 2 dates in xslt
body: <p>XML example:</p>
  
  <pre><code>&lt;Time&gt;
  ...
  &lt;FromTime&gt;12:00&lt;/FromTime&gt;
  &lt;ToTime&gt;14:00&lt;/ToTime&gt;
  ...
  &lt;/Time&gt;
  </code></pre>
  
  <p>XSLT:</p>
  
  <pre><code>&lt;xsl:variable name="Hour" select="13:00"/&gt;
  &lt;xsl:if test="FromTime &amp;lt;= $Hour and ToTime &amp;gt;= $Hour"&gt;
  I am in
  &lt;/xsl:if&gt;
  </code></pre>
  
  <p>Can you point me in the right direction. My if not working as it should. I never get 'I am in'  </p>
  
  <p>Looks like the porblem is with <code>&amp;lt;=</code>. If I just use <code>=</code> and change <code>Hour</code> to 12:00 it is working but not when I am using <code>&amp;lt;=</code>          </p>