David Verdin wrote:

Hi everybody,

I'm currently trying to write the result of a form filling to a file.
I could understand how to handle this filling and to pass it to a sitemap.

My problem is now to be able to write this to a file, created dynamically.
The final aim is to update a Xindice database. I know there are some wikis to understand how to use Xindice with XMLforms in Cocoon, but as there is no longer support of XMLforms in Cocoon 2.1, I'm trying to achieve my own implementation.


Have you tried using Cocoon forms for the form? The binding mechanism can bind (both ways) to an XML file, or, if you use the XMLDB protocol (available in the XMLDB block), you'll be able to bind (both ways) to documents in Xindice.

The problem is that I am *really* bad at Java, or even Javascript coding. So I try to use XSLT.
My idea is to use an XSLT transformation to create an XML document in Cocoon, and then write this to a file. Is this possible ?


The above (Cforms) wouldn't require any Java (and only a bit of cut-and-paste javascript).

Regards, Upayavira


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



Reply via email to