Re: [xsl] Modification date/time of an XML file during its XSLT-processing - how to get?

Subject: Re: [xsl] Modification date/time of an XML file during its XSLT-processing - how to get?
From: George Cristian Bina <george@xxxxxxx>
Date: Tue, 04 Oct 2005 17:35:49 +0300
Hi,

The best approach will be to pass that as a parameter to the transformation.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Blue Gecko wrote:
Hello folks,

I need to insert the modification date/time (timestamp) of a source XML file into the transformed contents, just like this:

<!-- XSLT output.
"lastModification" attribute comes from the timestamp of my source XML file.
-->
<foo lastModification="2005-10-04T13:20:00.000+01:00">
<items/>
</foo>


could anyone suggest me how to obtain such timestamp in the context of an XSLT processing?

Many thanks

Current Thread