-3
Q
持续时间计算
A
回答
0
如果您的处理器支持XSLT 2.0,你可以使用:
<xsl:template match="EstimatedTime">
<xsl:value-of select="format-number(minutes-from-duration(Value), '00')"/>
<xsl:text>.</xsl:text>
<xsl:value-of select="format-number(seconds-from-duration(Value), '00')"/>
</xsl:template>
+0
这就是我想要收到的,谢谢 –
相关问题
- 1. 计算持续时间
- 2. SQL持续时间计算
- 3. 计算会话持续时间在Kibana
- 4. 计算TS文件持续时间
- 5. PHP:计算持续时间[秒/分钟]
- 6. JavaScript日期持续时间计算
- 7. 如何计算持续时间?
- 8. 以秒计算pyspark持续时间
- 9. 计算持续时间无DateTime.UtcNow
- 10. Hive中的持续时间计算
- 11. 计算UIButton按下持续时间
- 12. MPXJ任务持续时间计算
- 13. 如何计算持续时间?
- 14. 布局计算持续时间太长
- 15. 爪哇:计算持续时间
- 16. 如何计算以PHP计算的持续时间
- 17. 计算一列中的时间戳之间的持续时间
- 18. 从两个Date对象计算错误时间以计算持续时间
- 19. 计数持续时间
- 20. 计算给定时间戳集合的持续时间
- 21. 如何计算hook_block缓存时间的持续时间?
- 22. 计算时间戳重叠持续时间
- 23. 用EF或Linq计算休息时间的持续时间
- 24. 用于持续时间计算的时间戳快速转换
- 25. 查找连续行和计算持续时间
- 26. 计算开始时间定结束时间(DATETIME2)和持续时间(时间(7))
- 27. 计算最长的不间断语音持续时间
- 28. 使用javascript计算磁带的间隔持续时间?
- 29. 计算sql中两个日期之间的持续时间
- 30. Kibana:日志和计算字段之间的持续时间
您需要使用XSLT字符串函数解析字符串... http://zvon.org/xxl/XSLTreference/Output /xpathFunctionIndex.html –
通过搜索找到解决方案:[answer](http://stackoverflow.com/questions/14955794/use-of-xsd-duration-type-using-xslt-to-out-put-value- to-normal-duartion-format) – uL1