forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r674136 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.tei/resources/stylesheets/document-to-teiLite.xsl
Date Fri, 04 Jul 2008 22:58:05 GMT
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>



Mime
View raw message