[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Getting Current Date


Subject: RE: [xsl] Getting Current Date
From: DPawson@xxxxxxxxxxx
Date: Thu, 25 Jan 2001 08:39:55 -0000

> 		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



Current Thread
Keywords
xsl