XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Venkat RaghupatSubject: XSL Date format
Author: Venkat Raghupat
Date: 09 Dec 2008 09:15 AM
Hi,
I am new to XSLT. While converting text from CSV to xml, i find dates are mentioned as '2nd February 2005' in the CSV file. How do I convert the dateformat to change to '2005-02-02T00:00:00' in the xml file.

Regards
Venkat

Posttop
Tony LavinioSubject: XSL Date format
Author: Tony Lavinio
Date: 10 Dec 2008 10:43 AM
If you use the Custom XML Converters in Stylus Studio,
you can mark the column as a date or datetime type.
You can then set the date order (MDY, DMY, etc.) and
it should parse the dates into ISO format for you.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.