From: Markus Jais Date: 2004-05-05T04:03:56+09:00 Subject: XML Data Binding for Ruby ? hello I am currently preparing an article about Ruby and XML where I will show some XML modules for ruby. only a short example to show people what's possible and that Ruby is a great alternative to Java/C# when processing XML. I am searching for a module where I can construct a Ruby Class from an arbitrary XML document, similar to Python's anobind with this I can take an XML document like this White-tailed Eagle Seeadler Kestrel Turmfalke and this python code ============= #!/usr/bin/env python import anobind from Ft.Xml import InputSource from Ft.Lib import Uri file_uri = Uri.OsPathToUri('raptors.xml', attemptAbsolute=1) input_source = InputSource.DefaultFactory.fromUri(file_uri) binding = anobind.binder().read_xml(input_source) print binding.birds.raptor[0].german_name.text_content() print for raptor in binding.birds.raptor: print raptor.wingspan print raptor.german_name.text_content() print raptor.english_name.text_content() print ============ is there something similar for ruby ? thanks in advance regards Markus