Hello,

I assume the user can choose between the formats at the last page of the
form, right?

If so, I think you could use a sitemap parameter. You could then make this:
First, you get the value in the model at that page step.

Second, you could make the value available to the sitemap via a parameter.
I usually get the sitemap parameters in the act method. You could get the
data submitted by the user from the model there and send it to the sitemap.
I usually follow what is said at
http://xml.apache.org/cocoon/userdocs/concepts/actions.html

Finally you have the pipeline defined with a parameter selector, so you
could serialize or transform the data accordingly.

I'm not that expert at this, but hope it helps.

Josema.
AAFunky Software.


-----Mensaje original-----
De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
Enviado el: viernes, 20 de diciembre de 2002 8:50
Para: Cocoon-Users (E-Mail)
Asunto: xmlform and different output formats


hello,

I need some help for the xmlform. I would like to create a
application that runs multiple forms and at the end outputs
some data to the user. at these stage the user should have
the possibility to get the outputted data in different
formats.
how can this approach be done. I thought about giving some
parameters to the page, but first how to add parameters and
second how to get theme in the action and apply the appropraite
stylesheet?

any suggestions are welcome.

ciao Lars

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to