[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
[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
|
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
|