我正在使用 xslt 1.0,我正在尝试将当前日期和时间打印到我的节点。下面是示例 xslt
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tcm="http://www.tridion.com/ContentManager/5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:em="http://www.emirates.com/tridion/schemas" xmlns:tcmse="http://www.tridion.com/ContentManager/5.1/TcmScriptAssistant" exclude-result-prefixes="em xlink tcmse tcm">
<xsl:output method="xml" version="1.0" encoding="UTF-16" indent="yes"/>
<!-- Common XSLT Templates-->
<xsl:include href="tcm:228-190524-2048"/>
<!-- root match-->
<xsl:template match="root">
<sitedata>
<resources>
<PublishedDate>
<xsl:value-of select="$publishedDate"/>
</PublishedDate>
</resources>
</sitedata>
</xsl:template>
在上面的 XSLT 中,代替$publishedDate我想要系统当前日期和时间
请建议!