[Zope] Objet : Re: [Zope] Change XML file with zope API

Francois-Regis CHALAOUX Francois-Regis.CHALAOUX@sanofi-synthelabo.com
Tue, 21 Dec 1999 17:47:00 +0100


Thus, the method int the "enum" at the beginning of XMLDocument .py ( in "
__ac_permissions__ " ) are the stuff !?

FR

>>> Martijn Faassen <m.faassen@vet.uu.nl> 21/12/99 17:01:34 >>>
Francois-Regis CHALAOUX wrote:
> 
> Hi XZoppiste,
> 
> I'm new in XML but now I can do nice things with the example from Amos in
> xml.org. I bet on this format, it's too fun ...
> Now, I'm trying to change a XML via HTML form; I readed the suggestion at
the
> end of the xml.org article and the source code from Builder, Node,
> XMLDocument, ZDOM but I cannot find a way to write the changes I created in
> the DOM tree into the XML data file. Is there an integrate solution ? Should
I
> program something by myself ?

If all is well, if you change an XMLDocument by using the DOM, the XML
representation changes along with it automatically. This is because the
XML representation is actually only generated by XMLDocument; the data
is actually stored as a tree (in the object database).

Regards,

Martijn

_______________________________________________
Zope maillist  -  Zope@zope.org 
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 )