OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Display dates in specific format

[ Lists Home | Date Index | Thread Index ]

At 09:20 AM 11/4/2003 -0800, puja thakral wrote:

>I'm using stylesheet to display all the information in
>html format.
>But I don't know how to display date.I get the date
>displayed as 1999-11-15T00:00:00 although I want to
>display it as 11/15/1999.

You can use the built-in XPath substring function to extract the specific 
pieces of the date that you want, and add slashes to separate them.


Michael C. Rawlins, Rawlins EC Consulting
Using XML with Legacy Business Applications (Addison-Wesley, 2003)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS