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

Re: date calculation from Excel 1900 Format

Subject: Re: date calculation from Excel 1900 Format
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Tue, 12 Jun 2001 17:17:04 +0100
excel duration function
Hi Xiaocun,

The date:add and date:duration functions have both been implemented as
templates in pure XSLT 1.0, and as extension functions using
func:function from EXSLT - Functions. As Mike said, if you use Saxon
6.3 then you can use either.

I recommend that you download the zips for the function packages from:

  http://www.exslt.org/date/functions/add/date.add.zip
  http://www.exslt.org/date/functions/duration/date.duration.zip

You can read about how to use these function packages at:

  http://www.exslt.org/howto.html#function-level

The how to guide is included in the zips, as is the function
documentation.  I'm afraid that there aren't any good examples of how
to use the functions as yet - perhaps you can give us some! :)

If you're only interested in the func:function definitions, then
you can download the implementations from:

  http://www.exslt.org/date/functions/add/date.add.function.xsl
  http://www.exslt.org/date/functions/duration/date.duration.function.xsl

and just import them into your stylesheet.
  
Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.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.