From: Alex Eiras Date: 2009-05-05T07:07:24+09:00 Subject: Re: accessing one class from another class --0016e6de17b2f004a904691d62ca Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > Also to clarify xml tag like can be repeated in my xml file, > so: > > r.student.course > could return an array of objects of class Course. > -- > Hi Nick, There are some good libraries to accomplish this. You may want to have a look at one of these (ordered by my own preferences): xml-object: http://github.com/jordi/xml-object/tree/master happy-mapper: http://happymapper.rubyforge.org/ xml-mapping: http://xml-mapping.rubyforge.org/ Hope it helps Cheers --0016e6de17b2f004a904691d62ca--