Jari Williamsson
11/22/2007 2:08:00 PM
PWR wrote:
> On 22 Nov, 12:39, Jari Williamsson
> <jari.williams...@mailbox.swipnet.se> 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