Re: [xsl] xslt 2.0 calendar

Subject: Re: [xsl] xslt 2.0 calendar
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Mon, 3 Apr 2006 20:52:34 +1000
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.

Current Thread