[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: Rene de Vries <RdVries@xxxxxxxxxxx>
Date: Fri, 20 Jul 2001 10:47:17 +0200
xsl transformation current date
Hi Armin,

I don't quite understand your problem.
The date your XSL is generating the HTML is the current date isn't it?
So why not use one of the suggestions how to get the current date and use the
<xsl:value-of select="the current-date-function of your choice"/> to hardcode it into your HTML?

And if you're using msxml3 (or just IE) and want to know how to pass a parameter:

see my earlier mail: http://www.biglist.com/lists/xsl-list/archives/200107/msg00002.html

Greetings Rene
   { @   @ }
        ^
      \__/

"You don't need eyes to see, you need vision!"

-----Oorspronkelijk bericht-----
Van:	Ghostrider [SMTP:ghostrider@xxxxxxxxxxx]
Verzonden:	vrijdag 20 juli 2001 9:19
Aan:	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Onderwerp:	 Getting date of the XSL transformation into HTML output

Hi list,

I searched the archive and found many posts concerning GETTING THE CURRENT 
DATE for all sorts of purposes, usually for testing the current date against 
some XML content containing dates.

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.

Is there a way to do this with an XSL file without reverting to 'extension' 
functions? Mike Kay suggested "passing the current date in to the stylesheet 
as a parameter", but I'm not sure how to do this or what the exact syntax 
would be...

Any ideas?

Thanks,

Armin


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


 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.