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 < Currentdate) I want to write a latin-cross.
I tried the following approach:
<xsl:if test="@Death <= current-date()">'symbol'</xsl:if>
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.
Where is the error?
current-date()
is available in XSLT 2.0, but not in XSLT 1.0. – mzjn