Skip to content
Discussion options

You must be logged in to vote

Hey @MBulli,

Yes that is possible. As you already know, xsd-parser uses different pipelines for different steps of the code generation. I see two possible solutions for your problem:

  • Use the output of the Interpreter pipeline: The MetaTypes structure. This contains language independent information for the different types defined in a schema. You can then simply put your own code on top of this to generate suitable code for your project.
  • Reuse the Generator pipeline, the resulting DataTypes structure and the Renderer pipeline with a custom RenderStep. These parts of the whole pipeline are rust specific, aiming for generating Rust modules, so the interface currently only provides methods t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MBulli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants