-
Notifications
You must be signed in to change notification settings - Fork 31
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
Some example required #142
Comments
Hi, Here's an example on generating rust code form xsd file. mkdir data_models
cd data_models
wget https://raw.githubusercontent.com/BroadbandForum/cwmp-data-models/master/cwmp-1-0.xsd -O cwmp-1-0.xsd
cd ..
mkdir gen_code
# clone the repo
cd xsd-parser-rs
cargo build
./target/debug/xsd-parser -i ../data_models/cwmp-1-0.xsd -o ../gen_code/cwmp_1_0.rs
|
Would be great to get that in the readme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be really appreciated if you'll share some examples how it is actually possible to to generate RUST code using your parser.
How to convert an XSD file to rust struct? Digging through source code but with no luck yet.
The text was updated successfully, but these errors were encountered: