RE: [xsl] XSL: Format date

Subject: RE: [xsl] XSL: Format date
From: "Blaine McNutt \(rbmcnutt\)" <rbmcnutt@xxxxxxxxx>
Date: Sat, 29 Sep 2007 14:20:09 -0700
This site has some nice string functions.

-----Original Message-----
From: mozer [mailto:xmlizer@xxxxxxxxx]
Sent: Saturday, September 29, 2007 3:35 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] XSL: Format date

try this if you are stuck to XSLT 1.0

translate('CD/AB/EFGH', 'ABXCDYEFGH', first/date)

On 9/28/07, Chaudhary, Harsh <HCHAUDHA@xxxxxxxxx> wrote:
> Hi,
> I am sure this has been discussed to death but I have not been able to

> find a good source of info on it.
> I have an xml:
> <first>
>        <date>31.12.2006</date>
> </first>
> I would like to convert it to 12/31/2006.
> Is there any built in function for this or is string formatting the
> way to go?
> Thanks,
> HC.

Current Thread