You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.
Thanks for the kudos. PyXB is a mature project with little refactoring likely to happen. I'll leave this open so others interested in your script can find it, but it's unlikely to ever be integrated into PyXB itself.
I was thinking to a way to generate an "Objectifier" for MusixXML from the XML schema ... I already coded such tools by hand for a simpler XML format.
After googling on the topic, I discovered PyXB.
I was able to generate a binding for this large schema and did a successful test !
I gave a look to the generated code and found theses "cosmetic" issues:
/home/fabrice/...
pyxb.binding.basis.complexTypeDefinition
, would be faster to make a aliasp_FooBar
foo._CF_enumeration.addEnumeration
lines could be refactored in a for loopTo fix this, I coded a script to clean the binding file cf. https://github.com/FabriceSalvaire/Musica/blob/master/Musica/MusicXML/clean-binding
I am just testing PyXB, it looks great. Thanks to develop it !
Can we imagine to use Jinja to generate code for Python, C++ etc. ?
The text was updated successfully, but these errors were encountered: