[ZODB-Dev] XML-pickle for Persistent objects...

kapil thangavelu kthangavelu@earthlink.net
Tue, 16 Jul 2002 20:57:08 -0700


this might be useful. its zope's xml export/import . its not zope specific. 

http://cvs.zope.org/Zope/lib/python/OFS/XMLExportImport.py?rev=1.3&content-type=text/vnd.viewcvs-markup

it has a dependency on the actual xml marshal mechanism which is here

http://cvs.zope.org/Zope/lib/python/Shared/DC/xml/

hth,

-kapil


On Tuesday 16 July 2002 03:50 pm, Mike C. Fletcher wrote:
> I'm wanting to create an XML-export/import option for my little
> ZODB4-based application.  I had _thought_ this was a basic feature in
> ZODB, but from what I can see, the ExportImport class only seems to know
> about the "dump database to file" format.
>
> Of course, the Persistent objects object when I try to pickle them (with
> xml_pickle for gnosis or even regular pickle).  I'm wondering if anyone
> has off-the-shelf XMLExportImport classes, or whether I'll need to roll
> my own?
>
> Thoughts appreciated,
> Mike
> _______________________________________
>    Mike C. Fletcher
>    http://members.rogers.com/mcfletch/
>
>
>
>
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list  -  ZODB-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zodb-dev