From: Piyush Ranjan Date: 2008-08-10T05:20:45+09:00 Subject: Re: XML -> Ruby mapping: is there a 'standard' approach? ------=_Part_44313_25884610.1218313369224 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I don't know much about standard approach but there are a few libraries out there which you may use like http://roxml.rubyforge.org/ Regards Piyush p.s. If you get answer for this question do put it here. On Sat, Aug 9, 2008 at 7:49 PM, Bill Walton wrote: > Background: > > I'm working on a library to read XML files and convert their contents to a > set of Ruby objects. The XML files conform to an ASTM standard and there's > an XSD. The Java guys are using JAXB to generate their classes from the > XSD. I'm not aware of an equivalent to JAXB for Ruby and so am going at the > task manually. > > Question: > > Is there a standard / recommended approach, documented somewhere, that I > could use to guide my decisions re: translating the XML structure into a > Ruby class hierarchy? > > TIA, > Bill ------=_Part_44313_25884610.1218313369224--