I think the other problem you are going to have in getting a solution to this is that the parameters, actions, etc are all evaluated before your sitemap is actually processed. So, I can't think of a way to accomplish exactly what you are looking for.
On 8/27/05, Eric Boisvert <[EMAIL PROTECTED]> wrote: > it's probably a dumb question but... why don't you include this parameter > directly in the xml generated by the generator ? > > maybe you have a good reason or some sort of limitation .. just a though. > > Cheers > Eric Boisvert > > > -----Message d'origine----- > > De : Nick Goupinets [mailto:[EMAIL PROTECTED] > > Envoyé : 27 août, 2005 16:50 > > À : users@cocoon.apache.org > > Objet : Pass a parameter from generator/transformer to the sitemap > > > > > > Hi everybody, > > > > I am trying to find out how to pass a parameter from generator / > > transformer code to the sitemap. Ultimately, I would want something like > > > > this: > > > > <map:generate type="my-generator"/> > > <map:transform type="some.xsl"> > > <map:parameter name="param" value="{param-created-by-my-generator}"/> > > </map:transform> > > <map:serialize/> > > > > That's pretty easy with actions (just get a HashMap returned), but how > > can this be achieved with generators/transformers? I guess there are > > always hacks with request/session attributes, but there must be a more > > elegant way. > > > > Thank you very much for your help. > > > > Best regards, > > Nick Goupinets. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]