[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

time differences

Subject: time differences
From: <trond.huso@xxxxxx>
Date: Sun, 24 Feb 2013 11:58:22 +0000
 time differences
Dear list,

I have a need for calculating differences in times. The times are from
sporting events and are in these formats:
<Totaltime>1:15.28</Totaltime>
<Totaltime>1:15.69</Totaltime>
Here it means one minute, 15 seconds and 28 hundreds of a second (or 69
hundreds of a second) so the difference here is 41 hundreds of a second (0.48
as it would say in my output)

The format could also be:
<Totaltime>1:10:15.28</Totaltime>
<Totaltime>1:11:15.69</Totaltime>
where the time means one hour, 11 minutes, 15 seconds and 28 (or 69) hundreds
of a second. The difference her should then be one minute and 41 hundreds of a
second (1:00.41)

Up until now I have done this in an external function in a program (windows
service (daemon)) that is doing all conversions for us. Problem is that a new
structure of the service has stopped the external functions from working. I
will not go back to the old structure because the new structure made the
service faster.

I am using Saxon for transformations, and I have been in contact with Mr.
Michael Kay regarding problems with external functions (thanks for all the
help!, but we have not found a solution. (dll with external functions has been
put in the GAC even without luck)

A complete solution is not necessary (although it would be nice), but some
pointers towards which direction I should go - how to solve this - would help
me a lot.

Best regards,

Trond

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.