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.
如何在 xslt 中获取当前星期几。像星期一,星期二.... 0,1,2 也是可以接受的。
如何在 XSLT 中做到这一点?
由于它是 XSLT 2.0:
format-date(current-date(), '[F]')
看看链接,这可能会对你有所帮助http://www.xsltfunctions.com/xsl/functx_day-of-week.html