Subject: emacs time stamp From: DPawson@xxxxxxxxxxx Date: Thu, 9 Nov 2000 13:39:49 -0000 |
Trying to be careful on versioning, I wanted to pull in the date automatically. The following works, using emacs. <?xml version="1.0"?> <!-- Time-stamp: "2000-11-09 13:32:19 DPawson" --> <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" > <xsl:template match="/"> <html><head></head> <body> <h2>Tests for DAISY spec version 2.0205</h2> <p>Revision 1.01. <xsl:value-of select="document('')/comment()[1]"/></p> The time-stamp needs to be up near the top of the file for auto updating, and the /comment()[1] pulls it in nicely to give Revision 1.01. Time-stamp: "2000-11-09 13:32:19 DPawson" good ole emacs :-) DaveP XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
unparsed-entity-uri ??, Eric Vermetten | Thread | Passing parameter to stylesheet fro, Manjul Sahay |
RE: Using client side XSLT to creat, Jarno Elovirta | Date | Re: Good example of xml to xsl styl, Jiri Jirat |
Month |