Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我有类似的时间19:30,现在在 XSLT 中我想将其更改为19:00.
19:30
19:00
相同的例如 from 19:45to19:00
19:45
如何删除 XSLT 中的分钟数?
<xsl:value-of select="concat(substring-before(timeField, ':'), ':00')"/>
...其中<timeField>包含您要修改的值。
<timeField>