From: <abd...@us...> - 2009-04-10 03:49:52
|
Revision: 8405 http://docbook.svn.sourceforge.net/docbook/?rev=8405&view=rev Author: abdelazer Date: 2009-04-10 03:49:50 +0000 (Fri, 10 Apr 2009) Log Message: ----------- Be a little bit more nuanced about dates Modified Paths: -------------- trunk/xsl/epub/docbook.xsl Modified: trunk/xsl/epub/docbook.xsl =================================================================== --- trunk/xsl/epub/docbook.xsl 2009-04-10 02:37:59 UTC (rev 8404) +++ trunk/xsl/epub/docbook.xsl 2009-04-10 03:49:50 UTC (rev 8405) @@ -679,9 +679,11 @@ <xsl:with-param name="single.year.ranges" select="$make.single.year.ranges"/> </xsl:call-template> </xsl:variable> - <xsl:element name="dc:date"> - <xsl:value-of select="$copyright.date"/> - </xsl:element> + <xsl:if test="not(../date)"> + <xsl:element name="dc:date"> + <xsl:value-of select="$copyright.date"/> + </xsl:element> + </xsl:if> <xsl:element name="dc:rights"> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'Copyright'"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |