Saving & Restoring Python objects in XML?

Martin v. Loewis martin at
Mon Sep 23 18:51:58 EDT 2002

Tom Bridgman <bridgman at> writes:

> Is there a way to write the parser handlers and/or other components (I'm
> using PyXML 0.7 and higher) such that they can assemble the required
> objects as they read in the file?

If you have mostly simple data types, xml.marshal.generic might be
appropriate. If you have classes that you want to marshal and
unmarshal, inheriting from that framework might help.


More information about the Python-list mailing list