xsl-list
[Top] [All Lists]

[xsl] Calender support

2006-07-31 06:25:35
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&#x0661;] [Mn] [D&#x0661;]', 'Islamic', 'SH', 'SH')"/>

This prints the year and day in arabic but remains in the Christian calender. The character &#x0661; 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?

Thanks

Tom

_________________________________________________________________
The new MSN Search Toolbar now includes Desktop search! http://join.msn.com/toolbar/overview


--~------------------------------------------------------------------
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>