-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerritjan,

> You both seem to assume i'm expecting a date in the query string
> like: http://yourhost/.../cdls_artikelen.xml?date=something

I was assuming that based on the response to which I was responding.  :-)

> I wanted to use the DateInputModule which is described at:
> http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html
> 
> In my cocoon.xconf this module is present en stated as referable by {date}
> 
> can you (or anybody else) see where i'm going wrong!

The "date" specified in your cocoon.xconf merely specifies the name of the
module.  You still have to provide it with the name of the module attribute you
want to retrieve.  For the current date, you want the "currentDate" property.

So your sitemap will look like this:

<map:match pattern="cdls_artikelen.xml">
        <map:generate src="cocoon:/cdls_artikelen_lijst.xml"/>
        <map:transform src="style/xsl/artikel_lijst2artikel.xsl">
                <map:parameter name="p_datum" value="{date:currentDate}"/>
        </map:transform>
        <map:serialize type="xml"/>
</map:match>

Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: What is this? http://pgp.ardvaark.net

iD8DBQFBcBjK3YdPnMKx1eMRAushAKDts8TB4S3WniIE2JC7/a9QUTawugCeOMpP
Aov4/2Mu/p9GL4S/7XIMZB0=
=dKiL
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to