I just want to know if there is a program that can convert an XSD file to a Python class as JAXB does for Java?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- Illegal to have multiple roots (start tag in epilo
- How to get the background from multiple images by
- Evil ctypes hack in python
Look at http://pypi.python.org/pypi/rsl.xsd/0.2.3
Also, you might want http://pyxsd.org/ it works very nicely.
PyXB: http://pyxb.sourceforge.net/
generateDS : I think this is the good tool I need
Edit : Actually, generateDS does very well the job !! It generates the Python class with all methods (setters and getters, export to XML, import from XML). It works very well !