RE: Modification date/time of an XML file during its
Read it in the calling application and pass it to the stylesheet as a parameter. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Blue Gecko [mailto:bluegecko@xxxxxxxxx] > 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format