Re: [Zope] Adding to an XMLDocument through web forms

2001-01-21 Thread J. Cameron Cooper

> 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/



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Adding to an XMLDocument through web forms

2001-01-18 Thread Ian Campbell


Hi,

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 have a file similar to:


  
  ...
  
  
  ...
  


So i`d have two web forms, one to add a new  and another to add an
, taking the data from a form is obviously simple but adding
this to my XMLDocument has stumped me. Any help would be appreciated.

Ian


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )