[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Calender support
Subject: RE: [xsl] Calender support
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 31 Jul 2006 17:46:01 +0100
|
> I wish to convert a date from the Christian calender to the
> Hijri (Islamic) calender. I am using XSLT 2.0 with Saxon 8. I
> have tried various permutations and differences of the following:
>
> <xsl:sequence select="format-date(current-date(),
> '[Y١] [Mn] [D١]', 'Islamic', 'SH', 'SH')"/>
>
> This prints the year and day in arabic but remains in the
> Christian calender. The character ١ doesn't seem to
> work with [Mn] either. Can anyone advise what I should be
> doing here? Does Saxon support the arabic calender and does
> it support other calenders?
No, Saxon currently supports only the Gregorian calendar. If you would like
to help me provide support for any additional calendars, please let me know
off-list (or on the Saxon list).
Michael Kay
http://www.saxonica.com/
Current Thread |
- [xsl] Calender support
- tom tom - Mon, 31 Jul 2006 14:25:04 +0100
- Michael Kay - Mon, 31 Jul 2006 17:46:01 +0100 <=
- <Possible follow-ups>
- cknell - Mon, 31 Jul 2006 11:33:28 -0400
- tom tom - Mon, 31 Jul 2006 16:49:06 +0100
- cknell - Mon, 31 Jul 2006 11:59:00 -0400
|