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

Re: Current date in a Xsl variable

Subject: Re: Current date in a Xsl variable
From: Mukul Gandhi <mukulw3@xxxxxxxxx>
Date: Wed, 10 Sep 2003 00:54:36 -0700 (PDT)
xsl get current date
Hi Peter,
  It is possible to get system date with EXSLT. The
XSLT processor must support EXSLT extensions.

With EXSLT you can do --
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:datetime="http://exslt.org/dates-and-times">

and get the current date and time as --
<xsl:value-of select="datetime:dateTime()" />

I know that Xalan 2.5.1 supports it. Saxon should also
be supporting it..

Regards,
Mukul


--- logchem.news@xxxxxxxxx wrote:
> Is it possibbe to get the current date in a
> variable?
> 
> I only found JavaScript routines, but it's not
> possible to store A 
> javascript variable in a Xsl variable.
> 
> Thanks in advance
> Peter
> 
> -- 
>
_____________________________________________________________________
> Snel en voordelig ADSL nu voor iedereen bereikbaar.
> Zon Breedband Budget vanaf EUR 14,95 per maand.
> Nu tijdelijk geen aansluitkosten. Bestel snel op
> zonnet.nl/breedband
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.