Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: XSL - Date/Time string requires formatting based on value in another element [Thread Next] Re: XSL - Date/Time string requires formatting based on value in another elementTo: NULL Date: 11/12/2007 9:23:00 PM I didnt used date as the format is rhe date is specified in the following form "YYYY-MM-DD" Not sure if I should use xs:datetime and just manually extract the values and add '/' between elements. So to recap my datetime is a STRING as it allowed me to use patterns to validate leap years and looks like DD/MM/YY HH:MM I want to modify part HH to add additional hours based on the timezone. Might start a new post to clafiry my requirements from the beginning... Any advice? "Martin Honnen" <mahotrash@y...> wrote in message news:%23LKtfluIIHA.4688@T...... > Rob W wrote: >> Im using XMLSpy 2007, its part of a university assignment and I must only >> use XSL/XST on a windows platform to implement the solution and for the >> output to be HTML. > > XMLSpy 2007 supports XSLT/XPath 2.0 so you should have support for xs:date > and xs:dateTime data types in XPath. If you use those types and the > date/dateTime formats those types allow then you have support for various > functions and operators > <http://www.w3.org/TR/xquery-operators/#durations-dates-times> > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
