2009/3/17 Praveen Kumar <praveen.python.pl...@gmail.com>: > > ---------- Forwarded message ---------- > From: Daniel Molina Wegener <d...@coder.cl> > Date: Mar 16, 2:20 am > Subject: pyxser, python xml serialization > To: comp.lang.python.announce > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > pxyser --- python xml serialization (beta release 0.1). > > pyxser is a C written extension that serializes/deserializes > python objects in XML format. It uses a DTD to create a valid > XML tree under UTF-8 encoding.
I tried this, but it could not de-serialize any of my serialized objects back from XML. Always returning <None>. Even the test cases failed for me. If one wants some kind of XML pickling, there is the gnosis.xml.pickle module from Gnosis Utils. Even this is not fool-proof since it does not do deep pickling and does not store class-instance associations. The best way would be for the pickle module itself to provide an XML schema that works using the Python object model. -- -Anand _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers