RE: adding a duration to a date/time
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!"
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format