Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] xslt 2.0 calendar [Thread Next] Re: [xsl] xslt 2.0 calendarTo: Date: 4/3/2006 10:53:00 AM For an xslt 1.0 calendar application, see:
http://www.topxml.com/code/default.asp?p=3&id=v20020711152545
Cheers,
Dimitre Novatchev.
On 4/3/06, David Murphy <david@xxxxxxxxxxxxxx> wrote:
> I'd like to be able to generate a simple calendar using the xslt 2.0
> date/time functions.
>
> Is there a way to know:
>
> 1. How many days are in a given month?
> 2. How to add a duration to a given date (e.g. add a day to '2006-03-31'
> to produce '2006-04-01')?
>
> There appears to be lots of new date formatting, extraction and duration
> functions in the xslt 2.0 spec but I can't find any that achieve the
> above.
>
> I'm using Saxon 8.7.
>
> Any help much appreciated.
>
> David Murphy
>
>
--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
