|
Subject: [xsl] Getting the length of a duration From: Deborah Pickett <debbiep-list-xsl@xxxxxxxxxx> Date: Tue, 01 Jan 2008 11:25:27 +1100 |
Have I missed an obvious better way to write this function?
<xsl:function name="xmltv2tgd:durationLength" as="xs:decimal">
<xsl:param name="duration" as="xs:dayTimeDuration"/>
<xsl:sequence select="days-from-duration($duration) * 86400
+ hours-from-duration($duration) * 3600
+ minutes-from-duration($duration) * 60
+ seconds-from-duration($duration)"/>
</xsl:function>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] difference in regexp matc, Manfred Staudinger | Thread | RE: [xsl] Getting the length of a d, Michael Kay |
| Re: [xsl] difference in regexp matc, Manfred Staudinger | Date | RE: [xsl] Getting the length of a d, Michael Kay |
| Month |