This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Getting Current Date


> 		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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]