How can I serialize Python objects to XML?
I need to serialize my Python objects into XML data. I tried to use Django, but it only works for QuerySet objects and not for any simple Python object.
How can I serialize a Python object in开发者_开发知识库to XML data?
http://freshmeat.net/projects/gnosisxml/
You could also have a look at the objectify module from lxml.
精彩评论