File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
subject: XML mapping framework
It's not a secret anymore!