title: In xpath why can I use greater-than symbol > but not less-than <
body: <p>Using c#3 compiled transforms the following seems to work just fine...</p>
  
  <pre><code>&lt;xsl:choose&gt;
      &lt;xsl:when test="$valA &gt; $valB"&gt;
          &lt;xsl:value-of select="$maxUnder" /&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:when test="$valA &amp;lt; $valC"&gt;
          &lt;xsl:value-of select="$maxOver" /&gt;
      &lt;/xsl:when&gt;
  &lt;/xsl:choose&gt;
  </code></pre>
  
  <p>However if i dare use a <code>&lt;</code> in place of <code>&amp;lt;</code> it gives an error...</p>
  
  <pre><code>&lt;xsl:choose&gt;
      &lt;xsl:when test="$valA &gt; $valB"&gt;
          &lt;xsl:value-of select="$maxUnder" /&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:when test="$valA &lt; $valC"&gt;
          &lt;xsl:value-of select="$maxOver" /&gt;
      &lt;/xsl:when&gt;
  &lt;/xsl:choose&gt;
  </code></pre>
  
  <blockquote>
    <p>System.Xml.XmlException: '&lt;',
    hexadecimal value 0x3C, is an invalid
    attribute character.</p>
  </blockquote>
  
  <p>So why is <code>&gt;</code> ok and not <code>&lt;</code> ?</p>