Subject: RE: date-time formatting question
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 3 Feb 2004 21:03:06 -0000
|
One option may be to move forward to XSLT 2.0 which offers a
format-date() function.
Michael Kay
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Bruce D'Arcus
> Sent: 03 February 2004 19:54
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: date-time formatting question
>
>
>
> I am trying to do something very simple, but I can't figure out how.
>
> Input example:
>
> <text>
> <date>2003-03-15</date>
> </text>
>
> Desired output:
>
> March 3, 2003
>
> Another more complex example would be:
>
> (2003) .... Mar 3
>
> (The sort of thing you'd see in a formatted bibliographic reference)
>
> I've gotten far enough to figure out that I probably need to
> use exslt
> dates-and-times templates, but the documentation is too thin
> for me (a
> non-expert) to understand how to apply.
>
> Help, please?
>
> Bruce
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Michael Kay - Tue, 3 Feb 2004 16:03:02 -0500 (EST) <=
cknell - Tue, 3 Feb 2004 15:26:53 -0500 (EST)
|
|