You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Michel SALAIS <ms...@orsys.fr> on 2005/04/04 10:23:33 UTC

Using cocoon to generate xml files on the server

Hi all,

I want to use cocoon to write a forms oriented application. My goal is to let a client fill in a form and then to save the filled instance as an xml file on the server. The location of the file depends on some information in the filled form.
If it is necessary the directory where to put the new file can be created before but I would prefere to create it dynamically if possible.

Thanks in advance.

Michel.

Re: Using cocoon to generate xml files on the server

Posted by Askild Aaberg Olsen <as...@xangeli.com>.
Michel SALAIS wrote:

> Hi all,
>
> I want to use cocoon to write a forms oriented application. My goal is 
> to let a client fill in a form and then to save the filled instance as 
> an xml file on the server. The location of the file depends on some 
> information in the filled form.
>
> If it is necessary the directory where to put the new file can be 
> created before but I would prefere to create it dynamically if possible.
>
> Thanks in advance.
>
> Michel.
>
It seems like the SourceWritingTransformer is what you are looking for:
http://cocoon.apache.org/2.1/userdocs/transformers/sourcewriting-transformer.html

Askild

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Using cocoon to generate xml files on the server

Posted by go...@osmosis.gr.
Hi michel

you can have Cforms (cocoon forms) and binding to xml files 

they are some samples in cocoon distribution showing how toa cfomr to xml 

--stavros 

On Mon, 4 Apr 2005, Michel SALAIS wrote:

> Hi all,
> 
> I want to use cocoon to write a forms oriented application. My goal is to let a client fill in a form and then to save the filled instance as an xml file on the server. The location of the file depends on some information in the filled form.
> If it is necessary the directory where to put the new file can be created before but I would prefere to create it dynamically if possible.
> 
> Thanks in advance.
> 
> Michel.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org