Re: [xsl] RE: XSLT: Get timestamp

Subject: Re: [xsl] RE: XSLT: Get timestamp
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Wed, 4 Aug 2004 04:10:42 -0700 (PDT)
Marco,
Here is a good site for doing this.

http://www.dpawson.co.uk/xsl/sect4/dateTime.html

I use Windows 2000, so here is my bat file.

Mike F.
Washington, DC

timestamp.bat
@echo off
echo. |date > datestamp.txt
echo. |time > timestamp.txt
START /W REGEDIT /E it_settings.txt "HKEY_CURRENT_USER\Control
Panel\International"


<!DOCTYPE xsl:stylesheet [
<!ENTITY timestamp SYSTEM "timestamp.txt">
<!ENTITY datestamp SYSTEM "datestamp.txt">
<!ENTITY it_settings SYSTEM "it_settings.txt">
<!ENTITY seal_ent SYSTEM "seal_ent.txt">
<!ENTITY dtd_path_1 SYSTEM "dtd_path_1.txt">
]>


--- Marco Antonio Dias Campelo <mcampelo_ibm@xxxxxxxxxxxxxxxx> wrote:

> Just making the message below clear, this is the format I need:
> 
> YYYYMMDDhh24:mi
> 2004080316:07
> 
> Thanks,
> Marco Campelo
> 
> -----Original Message-----
> From: Marco Antonio Dias Campelo 
> Sent: Tuesday, August 03, 2004 4:06 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: XSLT: Get timestamp
> 
> Hello Guys,
> 
> I have a requirement in my project which says that I have generate
> a
> timestamp (now()) inside my XSLT.
> 
> I searched newsgroups, google, books and tutorials, but I couldn't
> find
> a way to implement it.
> 
> What do you say?
> 
> Is it possible?
> 
> Or should I implement a extension to my XSLT engine?
> 
> Thanks in advance,
> Marco Campelo
> 
> 



		
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com

Current Thread