hello list.

I have the following setup.

I have a form and the data entered into that form is saved to a file. this is done using the bindings_example.js and the form2simpleXML example. each time someone enters data into the form and submits it, this data is written to a file. what I want, is a second file, that has as elements the data from the form, as in this:

<entries>
        <entry>widget data from a 1st submit</entry>
        <entry>widget data from a 2nd submit</entry>
        <entry>widget data from a 3rd submit</entry>

</entries>

so I would have the file that contains the submitted data not be renamed but overwritten every time someone submits data. how can I accomplish that the submitted data is not just written to one file but also that this data (from the file) is appended to the other file (as the one described above)? for example I would call a pipeline after writing the widget data to the file, that would have a SourceWrite Transformer in it that appends the widget-data to the list-file. but that means that I have to have the <source:insert>- and other tags in the file that contains the original form data. that to me seems impossible because I don't know where and how I could put it in a definition file without getting errors on calling the form. putting it in the template also does not make the <source:insert> - stuff be included in the saved widget data :(

does someone know how I could do the above? maybe I am missing something, but it seems to me as if it shouldn't be so difficult, but I cannot think of a way to make this work. also, I hope that I could make myself clear with what I want to achieve...

best regards,

christian

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