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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Mehul Kishor Mehta
> Sent: 25 June 2002 14:09
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: 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
|