I am working on an application that atleast involves
submitting some data in a text box and storing it in a
database.  I am using the XMLDBTransformer from the
scratchpad to do this and storing in Xindice (thanks
to Vadim and Christian)  Now I have another question. 
Can anyone recommend what's the best way to get the
form submission converted to XML for storage?

One way is to use the RequestGenerator on submission
to get all the request parameters.  Then write an XSL
to convert it to the XML format that I desire (which
means taking out the request fields).  Then I could
use the xmldb transformer to save it to xindice.

Is it better to use actions for the form submission? 
That way I could validate the data before storage.

Any feedback will be very much appreciated.

Best regards,
Sam

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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

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

Reply via email to