RE: xslt 2.0 month name
Thanks Andreas -Original Message- From: Andreas L. Delmelle [mailto:andreas.delme...@telenet.be] Sent: April-06-11 2:26 PM To: fop-users@xmlgraphics.apache.org Subject: Re: xslt 2.0 month name On 06 Apr 2011, at 20:06, Chen Yang wrote: Hi Chen, > I'm using xslt fn:formate-dateTime() to get the current date and time, for English it's works fine. > > But everytime I try to get the month name in different languages(fr,de,etc),I will just get the current date and time with [Language: en] in the front and couldn't get the month name in that language. This is a pure XPath/XSLT question, so is actually off-topic for this list. If someone readily knows the answer here, all the better, but you may want to raise this one the Mulberry XSLT list (http://www.mulberrytech.com/xsl/xsl-list/), or Saxon's user list, in case you need a quick response. I personally do not have the answer at hand, unfortunately. Hope this helps! Regards, Andreas --- - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: xslt 2.0 month name
On 06 Apr 2011, at 20:06, Chen Yang wrote: Hi Chen, > I’m using xslt fn:formate-dateTime() to get the current date and time, for > English it’s works fine. > > But everytime I try to get the month name in different languages(fr,de,etc),I > will just get the current date and time with [Language: en] in the front and > couldn’t get the month name in that language. This is a pure XPath/XSLT question, so is actually off-topic for this list. If someone readily knows the answer here, all the better, but you may want to raise this one the Mulberry XSLT list (http://www.mulberrytech.com/xsl/xsl-list/), or Saxon's user list, in case you need a quick response. I personally do not have the answer at hand, unfortunately. Hope this helps! Regards, Andreas --- - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
xslt 2.0 month name
Hey guys, I'm using xslt fn:formate-dateTime() to get the current date and time, for English it's works fine. But everytime I try to get the month name in different languages(fr,de,etc),I will just get the current date and time with [Language: en] in the front and couldn't get the month name in that language. Date Created: [Language: en] 06/April/2011 Here is my code, Could someone tell me what I'm doing wrong here. Or I'm using Saxon 9 with Fop 1.0 running on tomcat 7 Best Regards, Chen Yang