xml - 如何在 xslt 中添加计时器
问题描述
我开发了一个页面,显示订单的不同状态:
预计交货
已交付。
我需要在预期交付状态旁边添加一个计时器(带薄荷糖)。
我试图添加一个计时器,但我不能。我不知道它的正确代码。
<xsl:choose >
<xsl:when test="remarksairside='Expected'">
<text color="#32CD32" bold="true">
<text>Expecting Delivery in
</text>
<!--- the timer code -->
</text>
</xsl:when>
<xsl:otherwise>
<text>
<xsl:value-of select="status" />
</text>
</xsl:otherwise>
</xsl:choose>
现在,代码只显示没有计时器的状态。你能帮忙吗?
解决方案
推荐阅读
- html - Thymeleaf:连接表达式
- ruby-on-rails - 带有 XML 正文的 HTTP 200 的 API 响应
- ruby - sinatra activerecord 在heroku 上找不到模型
- javascript - 使用过滤器按钮从黑白到彩色的组合图像
- c# - WinForms 项目中的“类型或命名空间报告不存在”
- arrays - 如何通过c中的函数修改具有可变大小的二维数组?
- oracle - 如何解决 Oracle WLS/Coherence 修补的错误代码 73?
- node.js - NodeJs无法在当前环境Pubsub中检测到项目ID
- python - 在 ubuntu 上使用 Pyinstaller 创建的可执行文件并在 SuSE12 SP4 上运行会引发 libreadline 问题
- opengl - opengl中的图像坐标表现奇怪