[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Calender support

Subject: RE: Calender support
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 31 Jul 2006 17:46:01 +0100
RE:  Calender support
> 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?

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

Current Thread
  • Calender support
    • tom tom - 31 Jul 2006 13:25:36 -0000
      • Michael Kay - 31 Jul 2006 16:46:22 -0000 <=
      • <Possible follow-ups>
      • cknell - 31 Jul 2006 15:33:43 -0000
        • tom tom - 31 Jul 2006 15:49:34 -0000
      • cknell - 31 Jul 2006 15:59:18 -0000


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.