* sample output
* related documentation
* using pyxser
* project costs
pyxser stands for Python XML Serialization and is a Python object to
XML serializer and deserializer. In other words, it can convert a
Python object into XML and also, convert that XML back into the
original Python object. It uses a preorder traversal tree algorithm
over the object tree and the XML tree. The algorithm is O(n) , and uses
some compiler construction techniques as memoization to create unique
instances of each element in the object tree. It supports cross
referenced and circular referenced object trees, so the serializer do
not crash with those kind of objects. Each serialized object before
being deserialized is validated against the pyxser XML schema. It also
uses mutually recursive functions to serialize and deserialize the
object tree, but it has some features, like the depth argument, which
allows you to stop serializing/deserializing the object tree at certain
point. pyxser is self documented, if you want to take a look on the
documentation, just run pydoc -p8080, connect to
http://localhost:8080/, and find the pyxser extension.
* Serialization of cross references.
* Serialization of circular references.
* Preserves object references.
* Custom serializations.
* Custom deserializations.
* Object attribute selection callback.
* Serialization depth limit.
* Standards based serialization.
* Standards based XML validation using pyxser XML Schema.
* C14N based serialization, as optional kind of output.
* Model based XML serialization, represented on XML Schema and XML
The pyxser license is GNU Lesser General Public License version 3.
You can use in your closed source application, but if you modify
pyxser, you must publish the changes.