[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: date calculation from Excel 1900 Format
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
|
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
|