This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Date in document !
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 25 Jun 2002 15:21:01 +0100
- Subject: RE: [xsl] Date in document !
- Reply-to: xsl-list at lists dot mulberrytech dot com
You can either pass the current date to the transformation as a
parameter, or you can access it using the EXSLT date:date() function
http://www.exslt.org/date/functions/date/index.html
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> Mehul Kishor Mehta
> Sent: 25 June 2002 14:09
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] Date in document !
>
>
>
> I am using XSLT to parse XML, and I am using SAXON to create
> html format
> output. I would like to know is there anyway I can insert
> date (on which
> document is created) in the document. Please let me know if
> anyone knows
> anyway to do so.
>
> Please note, XML file is generated by some other tool and so I cannot
> hand-edit XML file.
>
> Thanks for your help in advance,
> Mehul.
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list