[Zope] adding XML documents programatically

Stephen Pitts smpitts@midsouth.rr.com
Mon, 17 Jan 2000 20:16:07 -0600


On Mon, Jan 17, 2000 at 05:34:40PM -0700, Ed Colmar wrote:
> I know there is a DTML command to create a folder (or other objects without using the mangaement interface...  For example, I pulled this off the mailinglist archive:
> 
> <dtml-call "manage_addFolder('aFolderName', REQUEST=_.None)">
> 
> What I am looking for is how to add an XML document in a similar fashion.  I actually want to call this from within python, but I imagine the syntax will be similar.  Is there a way to do this?
> 
> Thanks!
> 
> 

This HowTo (Adding ZClass Instances Programmatically) should do the
trick:
http://www.zope.org/Members/tazzzzz/addZClasses
-- 
Stephen Pitts
smpitts@midsouth.rr.com
webmaster - http://www.mschess.org