xsl-list
[Top] [All Lists]

[xsl] xslt 2.0 calendar

2006-04-03 06:18:38
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>
--~--

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