title: Greater than(>) and less than(<) operator not working in XSLT
body: <p>Below is my XSL where I am trying to check the condition if size of the file is greater then the preset value and try to stop the processing, but it looks like the condition is not getting executed. I am not sure if it is not formatted right way. Can anyone look in to it and see if there is any issue?</p>
  
  <p>Value of both the variable IncomingFileSize and SetFileSize are of type 'number'</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dp="http://www.datapower.com/extensions" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dpconfig="http://www.datapower.com/param/config" extension-element-prefixes="dp" exclude-result-prefixes="dp dpconfig inc"&gt;
  &lt;xsl:template match="/"&gt;
      &lt;xsl:variable name="File_CD" select="document('local:///FileIntake/Resources/FileServiceConfigData.xml')"/&gt;
      &lt;xsl:variable name="IncomingFileSize" select="number(dp:variable('var://service/mpgw/request-size'))"/&gt;
      &lt;!-- &lt;xsl:variable name="SetFileSize" select="$File_CD/FileServiceConfig/FileSize"/&gt; --&gt;
      &lt;xsl:variable name="SetFileSize" select="number($File_CD/FileServiceConfig/FileSize)"/&gt;
      &lt;dp:set-variable name="'var://context/var/IncomingFileSize'" value="$IncomingFileSize"/&gt;
      &lt;dp:set-variable name="'var://context/var/SetFileSize'" value="$SetFileSize"/&gt;
      &lt;xsl:choose&gt;
          &lt;xsl:when test="'$IncomingFileSize '&amp;gt;' $SetFileSize'"&gt;
              &lt;dp:reject/&gt;
          &lt;/xsl:when&gt;
          &lt;xsl:otherwise&gt;
              &lt;dp:accept/&gt;
          &lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p></p>