Looking for generator of Python <--> XML bindings [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered wit开发者_开发技巧h facts and citations.
Closed 8 years ago.
Improve this questionI'm looking for a generator which takes schema file(s) (XSD) on input and generates Python code (bindings) able to transform xml file to Python objects and the other way around. It should be customizable so that I could plug in my code dealing with transformation between specific types defined in schema and Python's objects (let's say xsd::dateTime
to/from datetime.datetime
).
Try PyXB.
http://www.rexx.com/~dkuhlman/generateDS.html
That's the first Google hit.
How to convert XSD to Python Class
That's the second Google hit.
精彩评论