Hello all, good day

Most likely this has been mentioned before and if so my apologies for not
finding anything on it by better searching 'discussion' or mailing lists.

How easy (technically and time availability) would it be for maintainers
(Alain ?) to implement the xsd:duration type and associated functions (I
think they are XPath 2)  ?

For now, would some kind person assist (post a small code perhaps) by
suggesting how to best/efficiently process xsd:time elements 'time-from'
and 'time-to' in a repeat block, such that for each pair the duration in
minutes (seconds does not matter) is calculated and then a total for the
nodeset ?

For now, as a descriptive,  I am playing with implementing a <minutes/>
element for each repeat item and using a 'bind calculate' to get the value
by string splitting and using math functions to obtain the duration hours
(converting it to minutes) and minutes and adding the two.

Then to create a <totalminutes/> element and using a 'bind calculate' to
get the value by using sum() on the <minutes/> nodeset.


Thank you for some info and comments.
Peace and best wishes

Habs
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to