Publisher review:Marshal unicode strings with PyXML script extends both PyXML Marshaller and Unmarshaller to support the de-/serialization of unicode strings. If you want to serialize Python objects to XML then PyXML is a good choice. Except in the case when unicode strings come into play. In this case generic.Marshaller().dump() throws an ugly AttributeError: Marshaller instance has no attribute 'm_unicode' .
This script extends both PyXML Marshaller and Unmarshaller to support the de-/serialization of unicode strings. Put the following code in a separate module and test it with the given example.
Marshal unicode strings with PyXML 1.0 is a Python script for Text Management scripts design by Alex Greif.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Marshal unicode strings with PyXML script extends both PyXML Marshaller and Unmarshaller to support the de-/serialization of unicode strings.
Operating system:Windows / Linux / Mac OS / BSD / Solaris