I add the date to the source XML, from where I can select it in XSL. This has the advantage that a/ The date will be the last edit date of the XML, which suits me fine, and b/ I can format the date nicely: I have a node like <date day="Monday" date="12" month="3" year="2001"/> so I can have templates in XSL to return Monday 3rd or 3/12/2001 or 12-March-01 as required
-----Original Message----- From: Jeremias Maerki [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 6:56 AM To: [EMAIL PROTECTED] Subject: Re: Date You should do this using XSLT/XPath, not using XSL:FO. But the subsequent problem is that XSLT/XPath does not directly support dates. So I suggest you look at EXSLT, for example. They have some date and time functions that you can use. http://www.exslt.org/date/index.html On Tue, 13 Nov 2001 14:39:17 -0600 Amit Kirdatt wrote: > How do you insert todays date > Is there something similar to page-number > <fo:page-number\> > > I tried > <fo:date\> > > that dosen't work. > any ideas > > thanks > Amit Cheers, Jeremias M�rki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
