[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RE: XSLT: Get timestamp

Subject: Re: RE: XSLT: Get timestamp
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Wed, 4 Aug 2004 04:10:42 -0700 (PDT)
xslt timestamp
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.