[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Display dates in specific format
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. Mike --------------------------------------------------------------- Michael C. Rawlins, Rawlins EC Consulting www.rawlinsecconsulting.com Using XML with Legacy Business Applications (Addison-Wesley, 2003) www.awprofessional.com/titles/0321154940
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|