![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Insert current timestamp/date from XSLT stylesheet into a XML document ??? [Thread Next] Re: Insert current timestamp/date from XSLT stylesheet into a XML document ???To: NULL Date: 10/4/2004 1:28:00 PM Michael Hertz wrote: > I am performing a XSLT stylesheet on a XML document and produce a new XML document. > How can I insert in this new XML stylesheet a tag > > <currtime>..."the current date/time"....</currtime> > > where "the current date/time" above is replaced by the real current time (e.g. > 12th Sep 2004 09:23:78 With XSLT 1.0/XPath 1.0 you need to define a global parameter e.g. <xsl:param name="now" /> and then use processor specific means to set that parameter before you run the transformation. -- Martin Honnen http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
