Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Other Languages and the fly likes XML mapping framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "XML mapping framework" Watch "XML mapping framework" New topic

XML mapping framework

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Does Ruby have a XML to object mapping framework.It is much easier to work with objects than XML.
Another question - Does it have a pull based parser like StAX ?.

Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Not being aware of any, I typed "ruby xml mapping" into Google and found two such libraries from the first 10 hits.

Regarding a pull-based library, REXML also includes a pull-based API but it's apparently still under development so the API itself might see quite a lot of changes over even a short time.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Thanks Lasse
I agree. Here's the link:
subject: XML mapping framework
jQuery in Action, 3rd edition