Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Blue Gecko <bluegecko@--------->
To:
Date: 10/4/2005 3:06:00 PM
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: [xsl] 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


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent