-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate Julia types from XML schema files #154
Comments
You can parse any XML file if you declare its structure using See MusicXML.jl for an example of a library that uses AcuteML: |
Yes, but you have to define the structure of the XML in Julia first. What I'm looking for is automatically generating this Julia code to parse and generate XML based on it's schema. In MusicXML's case I would take the XML schema from here: https://www.musicxml.com/for-developers/musicxml-xsd/ and automatically generate the AcuteML code.
|
Hmmm... Actually I would also benefit from this functionality. I have some XML Schemas that are generated by other people and would be great to automatically create readers and writers based on those. |
What would the different types enable you to do, as opposed to using a Note for example that Julia's own AST representation for its syntax uses (for non-leaf nodes) the same type
|
It would be extremely useful to generate Julia types from XML schema files automatically. This would make it easy to generate, for example, SVG and MathML. Here is some useful code to handle XSD fschema files in Julia.
The text was updated successfully, but these errors were encountered: