Not sure if you question was answered. I wrote a servlet that would get all 
of the nodes of the DOM representation of the XML document and create a 
list of name=value pairs for each node. Then I construct a form based upon 
this form. The user can then edit the text components of the attributes and 
text nodes.

Here is how I create the name=value pairs:

<hello>
   <world>myhello</world>
</hello>

would then become:

hello-world1=myhello

I can email you the source if your still working on this. Otherwise, how 
did you do it?

- Earl


At 10:54 AM 2/14/2002 +0100, you wrote:
>I have built a system where I can edit the content of an xml file in a 
>browser by using html forms.  Comparing the request object with the 
>original XML (by use of ID's and aggregation) lets me contruct the updated 
>xml file with the original structure.
>I would like to write this file to disk, well actually overwrite the 
>original xml file.
>How do I go about this in Cocoon?
>Thanks,
>Bert
>
>
>---------------------------------------------------------------------
>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]>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at 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