[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Modification date/time of an XML file during its

Subject: Re: Modification date/time of an XML file during its XSLT-processing - how to get?
From: Blue Gecko <bluegecko@xxxxxxxxx>
Date: Tue, 04 Oct 2005 17:03:54 +0200
modification date
Michael Kay wrote:
Read it in the calling application and pass it to the stylesheet as a
parameter.

mmh...
excuse me Michael, but I didn't point out (my sample was oversimplified) that my processing involves several XML sources dynamically collected via xsl:document instruction elements -- so I can't rely on a pre-proc gathering.


I thought about XSLT extensions... what's your hint? Is there any (within some extent) standardized function for this purpose?

Michael Kay
http://www.saxonica.com/


-----Original Message-----
From: Blue Gecko
Sent: 04 October 2005 14:55
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Modification date/time of an XML file during its XSLT-processing - how to get?


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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.