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

Re: Getting date of the XSL transformation into HTML o

Subject: Re: Getting date of the XSL transformation into HTML output
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Fri, 20 Jul 2001 10:41:03 -0400
xslt date transformation
[Ghostrider]

> Which is not exactly what I need to do, it's much simpler, but I don't
know if
> it's possible: I just need to get the date my HTML output file was
generated
> and put in a footer on that HTML page.
>

If you want to do this to display the date in a browser, it's easy to
include a bit of javascript to do it - each page knows when it was created.
I do this on some of my html pages that I create using xml/xslt and a batch
process.  Here's the javascript I use (just put it in the footer template in
your stylesheet):

<div class="update">
 This page was updated on
 <script language="javascript">
  document.write(document.lastModified.substring(0,10));
 </script>
</div>

Here's the result:

This page was updated on 07/19/2001

Cheers,

Tom P




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.