title: XSLT compare Dates
body: <p>Currently I'm struggeling to get to dates compared. More presizely I have a Person which has an attribute Death with the formatting YYYY-MM-DD and if the person is dead (Death &lt; Currentdate) I want to write a latin-cross.</p>
  
  <p>I tried the following approach:</p>
  
  <pre><code>&lt;xsl:if test="@Death &amp;lt;= current-date()"&gt;'symbol'&lt;/xsl:if&gt;
  </code></pre>
  
  <p>But I only  receive parsing errors form the browser. I'm using XSL version 1.0 with no namespaces except xmlns:xsl="http://www.w3.org/1999/XSL/Transform" of course.</p>
  
  <p>Where is the error?</p>