| 18 | | <xsl:if test="descendant::mods:recordChangeDate[starts-with(., $filterdate)] or descendant::mods:recordCreationDate[starts-with(., $filterdate)]"><xsl:call-template name="writechange"/></xsl:if> |
|---|
| | 19 | <xsl:variable name="lastdate"> |
|---|
| | 20 | <xsl:choose> |
|---|
| | 21 | <xsl:when test="descendant::mods:recordChangeDate"><xsl:value-of select="descendant::mods:recordChangeDate[last()]"/></xsl:when> |
|---|
| | 22 | <xsl:otherwise><xsl:value-of select="descendant::mods:recordCreationDate"/></xsl:otherwise> |
|---|
| | 23 | </xsl:choose> |
|---|
| | 24 | </xsl:variable> |
|---|
| | 25 | <xsl:if test="xs:dateTime($lastdate) > xs:dateTime($filterdate)"><xsl:call-template name="writechange"/></xsl:if> |
|---|