Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XSL - Date/Time string requires formatting based on value in another element

From: "Rob W" <Whllrob@---.--->
To: 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/ 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent