title: How to compare two variable in xsl?
body: <p>I am comparing two variable in <code>xsl</code>. When I do </p>
  
  <pre><code>&lt;p&gt;Language:&lt;xsl:value-of select="$LANGUAGE_EN"/&gt;=&lt;xsl:value-of select="$CONTEXT_LANGUAGE"/&gt;&lt;/p&gt;
  </code></pre>
  
  <p>It Output <code>en=en</code></p>
  
  <p>But when I compare Using: </p>
  
  <pre><code>&lt;xsl:choose&gt;
     &lt;xsl:when test='string($CONTEXT_LANGUAGE) = string($LANGUAGE_EN)'&gt;
        &lt;p&gt;English Language&lt;/p&gt;
     &lt;/xsl:when&gt;
     &lt;xsl:otherwise&gt;
        &lt;p&gt;French Language&lt;/p&gt;
     &lt;/xsl:otherwise&gt;                
  &lt;/xsl:choose&gt;   
  </code></pre>
  
  <p>It always returns <code>French Language</code>, but it should return <code>English Language</code>. </p>
  
  <p>Can someone please help me on this, I lost my whole day on this?</p>