Created
May 10, 2012 14:40
-
-
Save xpathr/2653477 to your computer and use it in GitHub Desktop.
Copyright by Nils
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:template name="copyright"> | |
<xsl:param name="start" select="2010" /> | |
<xsl:value-of select="$start" /> | |
<xsl:if test="$this-year != $start"> | |
<xsl:text>–</xsl:text> | |
<xsl:value-of select="$this-year" /> | |
</xsl:if> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment