Hello,

it possible to use the VelocityGenerator (http://cocoon.apache.org/2.1/userdocs/flow/velocity.html). The docu says, that the objects request,response,session,context and parameters are always available.

I think: try it out!

Dirk


Rui Alberto L. Gon�alves wrote:
Hi all,
I need to replace values that come from the request in
a xml document.

example:
My inicial document looks like:
<doc>
 <user login="$login">
   <email>$email</email>
   ...
 </user>

The URL is: some-url?login=rui&[EMAIL PROTECTED]

The result should look like:

<user login="rui">
 <email>[EMAIL PROTECTED]</email>
 ...
</user>

I know that can be achieved using a stylesheet... does someone
knows or would like to suggest a better approach?


Thanks ..

Rui




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



Reply via email to