From: Rolando Abarca Date: 2007-11-23T01:50:45+09:00 Subject: Re: XML to Ruby? On Nov 22, 2007, at 11:06 AM, Jari Williamsson wrote: > Rolando Abarca wrote: > >> some time ago, I built a small class to do that, you can check it >> here: >> http://rolando.cl/xmlable/src/xmlable.rb >> http://rolando.cl/xmlable/src/test.rb >> http://rolando.cl/xmlable/doc/index.html > > Thanks, but this seems to only make XML data accessible to an > existing class? > It seems like I need to specify a bit better what I need: I'm > looking for a utility that will _generate_ Ruby code (classes) from > a hierarchical XML file. well, that's exactly what my class do: convert from xml to ruby classes, convert from ruby classes to xml. Check the test file for examples. > -- Rolando Abarca Phone: +56-9 97851962