cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: date input module
Date Mon, 05 May 2003 15:10:42 GMT
On 05.May.2003 -- 10:39 PM, Perry Molendijk wrote:
> BlankI am a little confused as to where and how you can use the date input
> module. I would like to use it to pass the current date as a parameter to an
> XSL. Can it be used that way and if yes how?

1) configure it in cocoon.xconf to return a string with a suitable format
2) in sitemap add
   <map:parameter name="currdate" value="{mydate:foo}"/>
   to your transformation, have your xslt expect this parameter and
   use it.

C h r i s t i a n       H a u l
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message