Schaake.nu

XSLT Duration converter

Gepost in /XSLT stylesheets/Software op 26 Juni 2013
Deze blog is geschreven door Christiaan Schaake

Within XML a number of datatypes are defined. The data, dateTime and time are easy to understand and convert since the exact location of each measurement unit is known. E.g. the month is always on character 6 and 7. The duration however is a much more complex datatype to represent date and or time. Espessially when we need to convert a complex duration of e.g. 1 year, 2 months and 4 minutes to seconds.

Volledige blog