Subject: Re: Current date in a Xsl variable
From: Mukul Gandhi <mukulw3@xxxxxxxxx>
Date: Wed, 10 Sep 2003 00:54:36 -0700 (PDT)
|
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
|