Subject: Re: [xsl] date calculation from Excel 1900 Format From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx> Date: Tue, 12 Jun 2001 17:17:04 +0100 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] date calculation from Exc, Michael Kay | Thread | RE: [xsl] date calculation from Exc, Diamond, Jason |
Re: [xsl] Appending output to multi, David Carlisle | Date | RE: [xsl] XSL engines for Linux, Khan, Amir |
Month |