|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] emacs time stamp
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








