Sandrine Pilon wrote:
How is it possible to integrate (simply) current date to a xsl stylesheet ?

Using javaScript is one solution, exactly as you did. With Xalan, you can also use java.util.Date directly: http://www.biglist.com/lists/xsl-list/archives/200203/msg01243.html

Neither of these approaches is protable (yet). If you need
portability, pass the formatted date as a parameter to the
style sheet. You can pass parameters from the command line
as well as to an transformer object if you run an embedded
transformer. For Cocoon, it's best to write an apropriate
filter.

J.Pietschmann



Reply via email to