What about the new ModuleSource (http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107358149204778&w=2)?

With something like <map:generate type="file" src="module:request-param:xml-field"/> you have the XML in the pipe and you don't need hand written Java or XSP code.

Joerg

On 13.01.2004 20:19, Brian Burridge wrote:

I want to create xml from forms and after reading through cocoon, I came
up with a couple of ways (I'm new to cocoon). I'd like to hear if there
are other ways, or if some of you have experience doing this.

1) I could use the RequestGenerator to generate an xml with all the
values submitted from the form, and then use a custom xslt to change it
to the format of xml I want to use (for alter storage in xindice).

2) I could use XSP to create xml using the request parameters in the xml
(and then store it).


Are there any other ways to create xml from a form submission that can then be written to flat file or a db?

Brian


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



Reply via email to