This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Getting date of the XSL transformation into HTML output
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Getting date of the XSL transformation into HTML output
- From: Rene de Vries <RdVries at PCL-HaGe dot nl>
- Date: Fri, 20 Jul 2001 10:47:17 +0200
- Organization: PCL HaGé b.v.
- Reply-To: xsl-list at lists dot mulberrytech dot com
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