|
|
Rank: Member
Joined: 11/5/2009 Posts: 13 Location: UK
|
Hi,
When trying the following xslt function with XSLT2 (AltovaXML), the value returned was formatted for English, rather than French (as indicated by the second argument). Am I doing something wrong, or is this not supported in Altova? (I know it works with Saxon for example)
<xsl:value-of select="format-date(xs:date('2001-07-05'), '[Fn] [D1o] [Mn], [Y]', 'fr', (), ())"></xsl:value-of> Should have returned "jeudi 5 juillet, 2001" but instead returned "Thursday 5 July, 2001".
I could not find any information about this in the online manuals...
|
|
Rank: Newbie
Joined: 10/28/2002 Posts: 1,283 Location: AT
|
Hi Wabiloo,
please note that the Altova XSLT engine does not provide support for the language argument i.e. this is ignored.
|
|
Rank: Member
Joined: 11/5/2009 Posts: 13 Location: UK
|
Was that information in the documentation somewhere? If so, can you indicate where as I must have missed that rather important page.
Many thanks
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
Implementation of support for particular languages is not a requirement by W3C, but is implementation-defined, i.e. every XSLT engine author may decide what languages to implement.
Which is no big deal though, because you can always add your functionality by means of templates, or in XSLT 2.0 your own functions.
|
|
|
guest |