Subject: Re: [xsl] Date, Number Format From: "Waqar Ali" <waqarali_pk@xxxxxxxxxxx> Date: Mon, 22 Oct 2007 15:45:04 -0400 |
Thanks, -Waqar
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Date, Number Format Date: Mon, 22 Oct 2007 15:19:55 -0400
At 2007-10-22 14:56 -0400, Waqar Ali wrote:How can I format the dat-time field to MMDDYYYY format?
In XSLT 2.0 you use format-dateTime:
http://www.w3.org/TR/2007/REC-xslt20-20070123/#format-date
Also numeric fields to 999v99 format?
Not sure what that format is ... can you explain what kind of number is the source for that rendering?
How can I determine which version of XSLT is installed on my machine.
You get a string value representing a number in return to the function:
system-property('xsl:version')
I hope this helps.
. . . . . . . . . Ken
-- Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Jul'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Date, Number Format, G. Ken Holman | Thread | [xsl] using key to merge data, Terry Ofner |
Re: [xsl] Date, Number Format, G. Ken Holman | Date | Re: [xsl] Date, Number Format, cknell |
Month |