sshaw / jaxb2ruby

Generate pure Ruby objects from an XML schema (XSD) using JAXB and JRuby. Use your favorite XML to object mapper or a custom ERB template.
12 stars 9 forks source link

Thanks! #9

Closed billy1kaplan closed 2 years ago

billy1kaplan commented 2 years ago

@sshaw I wasn't sure how to get in contact with you, but this gem worked brilliantly (inside of a Docker container)! Thanks for making it 🎉

sshaw commented 2 years ago

🍔🍻

Glad to hear! Did you rollout your own template or use a built-in one?

Always thought it was crazy how the strongly typed languages had seamless XML Schema integration but the others —e.g., Ruby, Perl, JavaScript— not shit!

FYI there's an updated branch. Need to merge into master...

Also while we're talkin' XML checkout this ish: https://github.com/sshaw/ruby-jing

billy1kaplan commented 2 years ago

Starting out with the default, built-in one but will be exploring rolling another template.

Definitely! I actually found this project by trying to roll my own version of this by directly parsing XSD (which turns out to be quite hard). I then realized, JAXB is pretty good at parsing XSD, maybe I can use that and then ended up here.

I will take a look, thanks!