xsl-list
[Top] [All Lists]

Re: [xsl] xslt 2.0 calendar

2006-04-03 06:23:01
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(_at_)firechaser(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>