简体   繁体   中英

How can I display File creation date in output when converting from XML to txt file using XSLT?

I am trying to display the text file creation date in the output while converting an XML file to a Text file. Is there any way to display that information dynamically? Any help would be greatly appreciated. Thank you!

current-dateTime() is a function you can call to find the dateTime is run. If you want to read information from the file system then you need http://expath.org/spec/file#pr.last-modified

看来您在找

<xsl:value-of select="current-dateTime()"/>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM