[Zope] adding XML documents programatically

Ed Colmar element@immersivearts.com
Mon, 17 Jan 2000 17:34:40 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01BF6111.22243600
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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=3D_.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!



------=_NextPart_000_0007_01BF6111.22243600
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I know there is a DTML command to =
create a folder=20
(or other objects without using the mangaement interface...&nbsp; For =
example, I=20
pulled this off the mailinglist archive:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;dtml-call =
"manage_addFolder('aFolderName',=20
REQUEST=3D_.None)"&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What I am looking for is how to add an =
XML document=20
in a similar fashion.&nbsp; I actually want to call this from within =
python, but=20
I imagine the syntax will be similar.&nbsp; Is there a way to do=20
this?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0007_01BF6111.22243600--