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]
Other format: [Raw text]

RE: Date in document !


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


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