[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] XSLT and Hijri Dates
Subject: [xsl] XSLT and Hijri Dates From: "Paul Spencer" <xml-dev-list@xxxxxxxxxxxxxx> Date: Tue, 16 Jun 2009 11:19:12 +0400 |
I use XML Spy, which does not seem to support the following to format a date as Hijri: <xsl:value-of select="format-date(pp:DateOfBirthHijri,'[D١] [Mn] [Y١]', 'ar', 'AH')"/> Has anyone else tried this? Does Saxon or any other processor support this? Incidentally, in the XSLT 2.0 specification, the format for this is shown as format-date( $value as xs:date?, $picture as xs:string, $language as xs:string?, $calendar as xs:string?, $country as xs:string?) as xs:string? But one of the examples is format-date($d, "[D١] [Mn] [Y١]", "Islamic", "ar", "AH", ()) which appears to be different. The parameter Islamic does not seem to fit. This didnt work in XML Spy either. Regards Paul
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Want to print elements/at, Vyacheslav Sedov | Thread | RE: [xsl] XSLT and Hijri Dates, Michael Kay |
Re: [xsl] Want to print elements/at, Vyacheslav Sedov | Date | RE: [xsl] XSLT and Hijri Dates, Michael Kay |
Month |