[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL: Format date

Subject: Re: XSL: Format date
From: mozer <xmlizer@xxxxxxxxx>
Date: Sat, 29 Sep 2007 22:34:52 +0200
Re:  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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.