[Zope] Adding to an XMLDocument through web forms

J. Cameron Cooper jccooper@rice.edu
Sun, 21 Jan 2001 21:29:20 -0600


> I`m looking for a way to give a user the ability to add new data to an
> XMLDocument through web forms, does anyone have experience of this or would
> be able to point me in the direction of an example or howto?

I tried to do this before, and it never worked, so I'm probably not of all
that much help, but...

take a look at the Zope Quick Reference, which has the API for XMLDocument.
You should be able to find the methods that add nodes to it. (Presumably the
regular old object methods would work too, but I can't verify that.) If you've
already done that and still don't have it working (like me), perhaps knocking
about the XMLDocument code would help. Last resort, contact the XMLDocument
maintainer: certainly there are test cases for this somewhere if it's
possible.

                    --jcc
--
"Hwaet! We Gar-Dena   in gear-dagum,
theod-cyninga,   thyrm gefrunon,
hu tha aethelingas   ellen fremedon!"
http://jccooper.brown.rice.edu/