From: Jari Williamsson Date: 2007-11-22T23:08:04+09:00 Subject: Re: XML to Ruby? PWR wrote: > On 22 Nov, 12:39, Jari Williamsson > wrote: >> Is there any Ruby package that will read a XML file and build Ruby >> classes for the tags found (classes that can handle reading, writing, >> setting attributes, etc), using the object relationships from the XML? >> Most preferably, get everything from the DTD and build the Ruby classes >> from there? >> >> Best regards, >> >> Jari Williamsson > > I've used REXML which worked very well. The only drawback is that it > is not a validating parser. How do you get REXML to generate Ruby classes? Best regards, Jari Williamsson