Search code examples
pythonxmldata-bindingxsdxsd2code

How to convert XSD to Python Class


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?


Solution

  • 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 !