You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2008/07/05 00:58:05 UTC

svn commit: r674136 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.tei/resources/stylesheets/document-to-teiLite.xsl

Author: rgardler
Date: Fri Jul  4 15:58:04 2008
New Revision: 674136

URL: http://svn.apache.org/viewvc?rev=674136&view=rev
Log:
Set publish and creation dates to current time

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.tei/resources/stylesheets/document-to-teiLite.xsl

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.tei/resources/stylesheets/document-to-teiLite.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.tei/resources/stylesheets/document-to-teiLite.xsl?rev=674136&r1=674135&r2=674136&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.tei/resources/stylesheets/document-to-teiLite.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.tei/resources/stylesheets/document-to-teiLite.xsl Fri Jul  4 15:58:04 2008
@@ -1,5 +1,6 @@
 <?xml version='1.0'?>
 <xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
+  xmlns:datetime="http://exslt.org/dates-and-times"
   version='1.0'>
 
   <xsl:template match='document'>
@@ -34,7 +35,7 @@
               http://creativecommons.org/licenses/by-sa/2.0/uk/
             </licence>
           </availability>
-          <date>FIXME: Date</date>
+          <date><xsl:value-of select="datetime:date()"/></date>
         </publicationStmt>
 
       </fileDesc>
@@ -43,7 +44,7 @@
         vcwho="$LastChangedBy: unklown $"
         vcrevision="$LastChangedRevision: 1 $">
         <change>
-          <date>FIXME: Date</date>
+          <date><xsl:value-of select="datetime:date()"/></date>
           <respStmt>
             <resp>author</resp>
             <name>FIXME: Author</name>