This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Getting date of the XSL transformation into HTML output


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@advalvas.be]
Verzonden:	vrijdag 20 juli 2001 9:19
Aan:	xsl-list@lists.mulberrytech.com
Onderwerp:	[xsl] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]