This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Getting Current Date
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Getting Current Date
- From: DPawson at rnib dot org dot uk
- Date: Thu, 25 Jan 2001 08:39:55 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Is there a way to produce a current date in a
> resulting document
> where the command/call/code originates from the
> xsl stylesheet?
<grin>Yes, if you use emacs </grin>
I posted such an idea recently.
<!-- Time-stamp : " " --> near the top of the file.
M-x time-stamp updates it,
then
<xsl:value-of select="document('')/comment()[1]"/>
Or substring just to get the date.
Simple.
without emacs, its manual, and likely to be forgotten.
HTH DaveP
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list