Closed untereiner closed 3 years ago
@untereiner you could play around with the module aliases, check the travelport sample
<Aliases>
<ModuleName source="http://www.energistics.org/energyml/data/resqmlv2" target="energistics.energyml.data.commonv2"/>
ok thanks, besides I can add manually the version string because there is no way to get it from the xsd schema, right ?
ok thanks, besides I can add manually the version string because there is no way to get it from the xsd schema, right ?
yes, you can do whatever you want with the aliases, currently there is no other way
Could it be possible to add an option to generate the file not with the namespace as filename but as path ? For example the namespace:
http://www.energistics.org/energyml/data/commonv2
For now the cli generate the file:energistics_org_energyml_data_commonv2.py
in a target package Could it be possible to generate the pathenergistics/energyml/data/commonv2.py
in a target package ?Edit: even better use the version tag My schema's header is as follows:
I would like to generate a path with the version (e.g. "2.2"):
energistics/energyml/data/v2.2/commonv2.py