RE: [xsl] date function in XSLT or XPATH

Subject: RE: [xsl] date function in XSLT or XPATH
From: "Roger L. Cauvin" <roger@xxxxxxxxxx>
Date: Thu, 7 Jun 2001 17:06:05 -0500
>> Is there a function that retrieves the system date and time in XPATH
>> language or XSLT?

> No. You can achieve it easily either by passing the value into the
> stylesheet as a parameter, or by calling an extension function. In either
> case, the precise details of how to do it depend on the processor you
> are using.

You can also use XVRL (see http://www.xvrl.org) to refer to the current time
in an XML document.  An XVRL parser such as JResolver will resolve the
reference, and produce a plain XML document with the current time.  It will
also optionally apply a stylesheet before producing the output.

However, this solution, too, is not pure XSLT.

---

Roger L. Cauvin
roger@xxxxxxxxxx



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


Current Thread