Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Customize namespace prefixes

Help
Isaac
2013-10-03
2013-10-03
  • Isaac
    Isaac
    2013-10-03

    I have a complex schema with several namespaces. I created the Python bindings and have successfully created instances of the generated classes, populated the data items, and serialized the data to XML. In the generated XML are declarations like xmlns:ns1="..." xmlns:ns2="..." etc. However, I'd like to customize the namespace prefixes. For example, xmlns:foo="..." etc. Is there any way to do this? Thanks.

     
  • Isaac
    Isaac
    2013-10-03

    Ah, very cool! Thank you. I totally missed that section in the docs.