RE: [xsl] adding a duration to a date/time

Subject: RE: [xsl] adding a duration to a date/time
From: Deirdre Saoirse Moen <deirdre@xxxxxxxxxxx>
Date: Thu, 17 Jun 2004 12:50:44 -0700 (PDT)
On Thu, 17 Jun 2004, Josh Canfield wrote:

> This will be tough to do without an extension function. Look at the
> EXSLT date:
>
> http://www.exslt.org/date/functions/add-duration/date.add-duration.html

I found another way of doing dates, which I use:

http://www.mail-archive.com/fop-dev@xxxxxxxxxxxxxx/msg00963.html

My one-minute attempt to extend it for duration wasn't successful, but I
didn't try very hard. :)

If, for some reason, adding the EXSLT functions is problematic, there is
at least some level of fallback to java.

Though I did also bookmark this page, which seems quite useful:

http://www.oreilly.com/catalog/javaxml/chapter/ch09.html (search on
SimpleDate to see what I was looking at).

-- 
_Deirdre                                             http://deirdre.net
"Memes are a hoax! Pass it on!"


Current Thread